MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_cleanup_ignores_symlink

Method test_cleanup_ignores_symlink

testing/test_tmpdir.py:304–307  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

302 )
303
304 def test_cleanup_ignores_symlink(self, tmp_path):
305 the_symlink = tmp_path / (self.PREFIX + "current")
306 attempt_symlink_to(the_symlink, tmp_path / (self.PREFIX + "5"))
307 self._do_cleanup(tmp_path)
308
309 def test_removal_accepts_lock(self, tmp_path):
310 folder = make_numbered_dir(root=tmp_path, prefix=self.PREFIX)

Callers

nothing calls this directly

Calls 2

_do_cleanupMethod · 0.95
attempt_symlink_toFunction · 0.70

Tested by

no test coverage detected