Skip to content

Commit 760260b

Browse files
committed
Fix test configuration for Python version < 3.8
1 parent b97dd05 commit 760260b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def client(httpserver):
3636
def file_client(tmp_path):
3737
'''Instance of `dicomweb_client.api.DICOMwebClient`.'''
3838
src_dir = Path(DATA_ROOT).resolve().joinpath('test_files')
39-
shutil.copytree(src_dir, tmp_path, dirs_exist_ok=True)
39+
dst_dir = tmp_path.joinpath('test_files')
40+
shutil.copytree(src_dir, dst_dir)
4041
url = f'file://{tmp_path}'
4142
return DICOMfileClient(url, recreate_db=True, in_memory=True)

0 commit comments

Comments
 (0)