1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-09 20:00:01 +02:00

🐛 dinglehopper: Fix test_ocrd_cli for Python 3.5

This commit is contained in:
Gerber, Mike 2019-10-28 14:51:41 +01:00
parent 86178271df
commit 49e2065ad6

View file

@ -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):