Skip to content

Commit

Permalink
just wrap clean up in try/except
Browse files Browse the repository at this point in the history
the windows CI processes are still getting PermissionErrors
cleaning up temporary files. That should not block building/deploying
  • Loading branch information
danielsf committed Apr 8, 2022
1 parent 8d9515b commit 9cc68de
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions allensdk/test/brain_observatory/sync_utilities/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,8 @@ def sync_file_fixture(

yield sync_path

if sync_path.exists():
sync_path.unlink()
try:
if sync_path.exists():
sync_path.unlink()
except PermissionError:
pass

0 comments on commit 9cc68de

Please sign in to comment.