mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2025-06-26 23:49:59 +00:00
Adjust test again for older Ghostscript
This commit is contained in:
parent
e6daa28c6d
commit
137b054f43
@ -241,6 +241,10 @@ def pdf_with_invalid_image(outdir):
|
||||
return outdir / 'invalid_image.pdf'
|
||||
|
||||
|
||||
@pytest.mark.xfail(
|
||||
ghostscript.version() < Version('10.04.0'),
|
||||
reason="Older Ghostscript behavior is different",
|
||||
)
|
||||
def test_recoverable_image_error(pdf_with_invalid_image, outdir, caplog):
|
||||
# When stop_on_error is False, we expect Ghostscript to print an error
|
||||
# but continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user