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

Method test_remove_file

testing/_py/test_local.py:399–403  ·  testing/_py/test_local.py::CommonFSTests.test_remove_file
(self, path1)

Source from the content-addressed store, hash-verified

397 copied.remove(rec=1)
398
399 def test_remove_file(self, path1):
400 d = path1.ensure(class="st">"todeleted")
401 assert d.check()
402 d.remove()
403 assert not d.check()
404
405 def test_remove_dir_recursive_by_default(self, path1):
406 d = path1.ensure(class="st">"to", class="st">"be", class="st">"deleted")

Callers

nothing calls this directly

Calls 3

ensureMethod · 0.80
removeMethod · 0.80
checkMethod · 0.45

Tested by

no test coverage detected