Skip to content

Commit

Permalink
Ignore errors in teardown process (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
GenevieveBuckley authored Nov 1, 2023
1 parent 94ed9b0 commit aebafc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_copie/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def copie(request, tmp_path: Path, _copier_config_file: Path) -> Generator:

# don't delete the files at the end of the test if requested
if not request.config.option.keep_copied_projects:
rmtree(test_dir)
rmtree(test_dir, ignore_errors=True)


def pytest_addoption(parser):
Expand Down

0 comments on commit aebafc7

Please # to comment.