MCPcopy
hub / github.com/pytest-dev/pytest / test_cleanup_keep_0

Method test_cleanup_keep_0

testing/test_tmpdir.py:496–499  ·  view source on GitHub ↗
(self, tmp_path: Path)

Source from the content-addressed store, hash-verified

494 print(a, b)
495
496 def test_cleanup_keep_0(self, tmp_path: Path):
497 self._do_cleanup(tmp_path, 0)
498 dir_num = len(list(tmp_path.iterdir()))
499 assert dir_num == 0
500
501 def test_cleanup_locked(self, tmp_path):
502 p = make_numbered_dir(root=tmp_path, prefix=self.PREFIX)

Callers

nothing calls this directly

Calls 1

_do_cleanupMethod · 0.95

Tested by

no test coverage detected