utils_ocr: avoid module-level import of TF

This commit is contained in:
Robert Sachunsky 2026-05-21 22:50:53 +02:00
parent f3a93983c0
commit 0836230c6b
2 changed files with 9 additions and 3 deletions

View file

@ -30,7 +30,7 @@ def test_run_eynollah_ocr_filename(
'-o', str(outfile.parent),
] + options,
[
# FIXME: ocr has no logging!
'output filename:'
]
)
assert outfile.exists()
@ -57,7 +57,7 @@ def test_run_eynollah_ocr_directory(
'-o', str(outdir),
],
[
# FIXME: ocr has no logging!
'output filename:'
]
)
assert len(list(outdir.iterdir())) == 2