🐛 dinglehopper: Fix test_ocrd_cli for Python 3.5

pull/6/head
Gerber, Mike 5 years ago
parent 86178271df
commit 49e2065ad6

@ -32,7 +32,7 @@ def test_ocrd_cli(tmp_path):
# Copy test workspace
test_workspace_dir_source = Path(data_dir) / 'actevedef_718448162'
test_workspace_dir = tmp_path / 'test_ocrd_cli'
shutil.copytree(test_workspace_dir_source, test_workspace_dir)
shutil.copytree(str(test_workspace_dir_source), str(test_workspace_dir)) # str() is necessary for Python 3.5's shutil.copytree()
# Run through the OCR-D interface
with working_directory(test_workspace_dir):

Loading…
Cancel
Save