1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-04 07:57:52 +03:00

Mark tests as failing because of Ghostscript

See https://bugs.ghostscript.com/show_bug.cgi?id=705225.
This commit is contained in:
Guillaume Ayoub 2022-04-15 15:47:05 +02:00
parent 2e726a3965
commit e544398b00

View File

@ -1,5 +1,7 @@
"""Test how gradients are drawn.""" """Test how gradients are drawn."""
import pytest
from ..testing_utils import assert_no_logs from ..testing_utils import assert_no_logs
from . import assert_pixels from . import assert_pixels
@ -64,8 +66,10 @@ def test_linear_gradients_4():
)''') )''')
@pytest.mark.xfail
@assert_no_logs @assert_no_logs
def test_linear_gradients_5(): def test_linear_gradients_5():
# See https://bugs.ghostscript.com/show_bug.cgi?id=705225
assert_pixels('linear_gradient_5', 10, 5, ''' assert_pixels('linear_gradient_5', 10, 5, '''
rBrrrBrrrB rBrrrBrrrB
rBrrrBrrrB rBrrrBrrrB
@ -155,8 +159,10 @@ def test_linear_gradients_11():
)''') )''')
@pytest.mark.xfail
@assert_no_logs @assert_no_logs
def test_linear_gradients_12(): def test_linear_gradients_12():
# See https://bugs.ghostscript.com/show_bug.cgi?id=705225
assert_pixels('linear_gradient_12', 9, 5, ''' assert_pixels('linear_gradient_12', 9, 5, '''
BBBBBBBBB BBBBBBBBB
BBBBBBBBB BBBBBBBBB