MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_delete_file

Method test_delete_file

Lib/test/test_pathlib/test_pathlib.py:2109–2113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2107 self.assertFileNotFound(p.unlink)
2108
2109 def test_delete_file(self):
2110 p = self.cls(self.base) / 'fileA'
2111 p._delete()
2112 self.assertFalse(p.exists())
2113 self.assertFileNotFound(p._delete)
2114
2115 def test_delete_dir(self):
2116 base = self.cls(self.base)

Callers

nothing calls this directly

Calls 5

assertFileNotFoundMethod · 0.95
assertFalseMethod · 0.80
clsMethod · 0.45
_deleteMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected