Skip to content

Commit

Permalink
allow remove() in test fixture to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist committed Jun 10, 2024
1 parent ca180a4 commit 11f54bc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@

def remove(name):
if name.exists():
try:
shutil.rmtree(str(name))
except OSError:
pass
shutil.rmtree(str(name), ignore_errors=True)
assert not name.exists()


Expand Down

0 comments on commit 11f54bc

Please sign in to comment.