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 |
4 years ago | |
---|---|---|
.. | ||
__init__.py | 5 years ago | |
base.py | 5 years ago | |
test_recognize.py | 4 years ago |