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

Method test_cleanup_ignores_symlink

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

Source from the content-addressed store, hash-verified

511 )
512
513 def test_cleanup_ignores_symlink(self, tmp_path):
514 the_symlink = tmp_path / (self.PREFIX + "current")
515 attempt_symlink_to(the_symlink, tmp_path / (self.PREFIX + "5"))
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)

Callers

nothing calls this directly

Calls 2

_do_cleanupMethod · 0.95
attempt_symlink_toFunction · 0.70

Tested by

no test coverage detected