mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-09 11:50:00 +02:00
🐛 dinglehopper: Fix test_ocrd_cli for Python 3.5
This commit is contained in:
parent
86178271df
commit
49e2065ad6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue