🐛 dinglehopper: Fix test_ocrd_cli for Python 3.5, again, and again

pull/6/head
Gerber, Mike 5 years ago
parent 7cf1a540f4
commit 680c2a2661

@ -45,5 +45,5 @@ def test_ocrd_cli(tmp_path):
'-O', 'OCR-D-OCR-CALAMARI-EVAL'
])
assert result.exit_code == 0
result_json = list((Path(test_workspace_dir) / 'OCR-D-OCR-CALAMARI-EVAL').glob('*.json'))
result_json = list((test_workspace_dir / 'OCR-D-OCR-CALAMARI-EVAL').glob('*.json'))
assert json.load(open(str(result_json[0])))['cer'] < 0.03

Loading…
Cancel
Save