Skip to content

Commit 137b054

Browse files
committed
Adjust test again for older Ghostscript
1 parent e6daa28 commit 137b054

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_ghostscript.py

+4
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@ def pdf_with_invalid_image(outdir):
241241
return outdir / 'invalid_image.pdf'
242242

243243

244+
@pytest.mark.xfail(
245+
ghostscript.version() < Version('10.04.0'),
246+
reason="Older Ghostscript behavior is different",
247+
)
244248
def test_recoverable_image_error(pdf_with_invalid_image, outdir, caplog):
245249
# When stop_on_error is False, we expect Ghostscript to print an error
246250
# but continue

0 commit comments

Comments
 (0)