Update test to match new error messag

This commit is contained in:
James R. Barlow
2026-01-13 01:33:10 -08:00
parent 4c7086c609
commit 5371cc5e39
+2 -1
View File
@@ -22,7 +22,8 @@ def acroform(resources):
def test_acroform_and_redo(acroform, no_outpdf):
with pytest.raises(
ocrmypdf.exceptions.InputFileError, match='--redo-ocr is not currently possible'
ocrmypdf.exceptions.InputFileError,
match='--redo-ocr (or --mode redo) is not currently possible',
):
check_ocrmypdf(acroform, no_outpdf, '--redo-ocr')