mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-10-30 07:14:12 +01:00
Explicitly check for None to remove this warning:
test/test_recognize.py::test_word_segmentation
/home/mike/devel/ocrd_calamari/test/test_recognize.py:133: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
assert line
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| test_recognize.py | ||