diff --git a/tests/test_components.py b/tests/test_components.py index a6b22f668..2184319a2 100644 --- a/tests/test_components.py +++ b/tests/test_components.py @@ -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):