mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2025-11-25 14:37:23 +00:00
Don't suppress error message from config_notfound
Since it showed up in s390x bionic
This commit is contained in:
parent
11cd6201d9
commit
0934905493
@ -718,7 +718,7 @@ def test_tesseract_config_notfound(renderer, resources, outdir):
|
|||||||
'--pdf-renderer', renderer,
|
'--pdf-renderer', renderer,
|
||||||
'--tesseract-config', cfg_file)
|
'--tesseract-config', cfg_file)
|
||||||
assert "Can't open" in err, "No error message about missing config file"
|
assert "Can't open" in err, "No error message about missing config file"
|
||||||
assert p.returncode == ExitCode.ok
|
assert p.returncode == ExitCode.ok, err
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('renderer', RENDERERS)
|
@pytest.mark.parametrize('renderer', RENDERERS)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user