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

Method test_removal_accepts_lock

testing/test_tmpdir.py:518–522  ·  testing/test_tmpdir.py::TestNumberedDir.test_removal_accepts_lock
(self, tmp_path)

Source from the content-addressed store, hash-verified

516 self._do_cleanup(tmp_path)
517
518 def test_removal_accepts_lock(self, tmp_path):
519 dir = make_numbered_dir(root=tmp_path, prefix=self.PREFIX)
520 create_cleanup_lock(dir)
521 maybe_delete_a_numbered_dir(dir)
522 assert dir.is_dir()
523
524
525class TestRmRf:

Callers

nothing calls this directly

Calls 3

make_numbered_dirFunction · 0.90
create_cleanup_lockFunction · 0.90

Tested by

no test coverage detected