diff --git a/tests/unit/python/library/test_directory_batch.py b/tests/unit/python/library/test_directory_batch.py index 8898324867..43f0a4678b 100644 --- a/tests/unit/python/library/test_directory_batch.py +++ b/tests/unit/python/library/test_directory_batch.py @@ -44,7 +44,7 @@ class DirectoryBatchTests(unittest.TestCase): self.root = Path(self._tmp.name) def tearDown(self): - for path in self.root.rglob("*"): + for path in self.root.rglob("*"): # nocheck: project-walk tempdir fixture, outside the project tree if path.is_dir() and not path.is_symlink(): path.chmod(0o700) self._tmp.cleanup()