mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-05-05 05:05:44 -04:00
Loosen test language requirements - eng/deu
This commit is contained in:
@@ -62,5 +62,7 @@ def test_tqdm_console():
|
||||
|
||||
|
||||
def test_language_list():
|
||||
with pytest.raises(ocrmypdf.exceptions.InputFileError):
|
||||
ocrmypdf.ocr('doesnotexist.pdf', '_.pdf', language=['eng', 'ita'])
|
||||
with pytest.raises(
|
||||
[ocrmypdf.exceptions.InputFileError, ocrmypdf.exceptions.MissingDependencyError]
|
||||
):
|
||||
ocrmypdf.ocr('doesnotexist.pdf', '_.pdf', language=['eng', 'deu'])
|
||||
|
||||
Reference in New Issue
Block a user