Skip to content

Commit

Permalink
ignore copy errors if already there
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Nov 8, 2024
1 parent 21a84ec commit f44e55e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,11 @@ def _sort_by_extension(path):
)
yield installer, install_dir
if KEEP_ARTIFACTS_PATH:
shutil.move(str(installer), str(KEEP_ARTIFACTS_PATH))
try:
shutil.move(str(installer), str(KEEP_ARTIFACTS_PATH))
except shutil.Error:
# Some tests reuse the examples for different checks; ignore errors
pass


@lru_cache(maxsize=None)
Expand Down

0 comments on commit f44e55e

Please sign in to comment.