test_bookmarks_preserved won't raise ImportError any more

Due to trapping this in ocrmypdf.lib
This commit is contained in:
James R. Barlow
2018-03-28 23:22:55 -07:00
parent 40ef4f0bbe
commit 8d9be43c60
+1 -1
View File
@@ -97,7 +97,7 @@ def test_high_unicode(spoof_tesseract_noop, resources, no_outpdf):
assert p.returncode == ExitCode.bad_args, err
@pytest.mark.xfail(not fitz, raises=ImportError, reason="needs fitz")
@pytest.mark.xfail(not fitz, reason="needs fitz")
@pytest.mark.parametrize('ocr_option', ['--skip-text', '--force-ocr'])
@pytest.mark.parametrize('output_type', ['pdf', 'pdfa'])
def test_bookmarks_preserved(spoof_tesseract_noop, output_type, ocr_option,