Skip to content

Commit

Permalink
try ignoring errors when deleting a modules work directory created wi…
Browse files Browse the repository at this point in the history
…th root
  • Loading branch information
mirpedrol committed Feb 10, 2025
1 parent f4a42b5 commit 76e56c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def tearDown(self):

# Clean up temporary files
if self.tmp_dir.is_dir():
shutil.rmtree(self.tmp_dir)
shutil.rmtree(self.tmp_dir, ignore_errors=True)

@pytest.fixture(autouse=True)
def _use_caplog(self, caplog):
Expand Down

0 comments on commit 76e56c5

Please sign in to comment.