Skip to content

Commit

Permalink
Allow for dirs to exist
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Jun 17, 2024
1 parent 4793fd5 commit 982171e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@ def datadir(tmp_path, request):
test_dir = pathlib.Path(request.module.__file__).with_suffix('')

if test_dir.is_dir():
shutil.copytree(test_dir, tmp_path)
shutil.copytree(test_dir, tmp_path, dirs_exist_ok=True)

return tmp_path

0 comments on commit 982171e

Please sign in to comment.