From 49e2065ad6a5b009fc6b0fa8e721e57e26b85190 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Mon, 28 Oct 2019 14:51:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20dinglehopper:=20Fix=20test=5Focr?= =?UTF-8?q?d=5Fcli=20for=20Python=203.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator/dinglehopper/tests/test_integ_ocrd_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qurator/dinglehopper/tests/test_integ_ocrd_cli.py b/qurator/dinglehopper/tests/test_integ_ocrd_cli.py index 75d75ab..495b506 100644 --- a/qurator/dinglehopper/tests/test_integ_ocrd_cli.py +++ b/qurator/dinglehopper/tests/test_integ_ocrd_cli.py @@ -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):