MCPcopy Index your code
hub / github.com/python/cpython / test_unlink_missing_ok

Method test_unlink_missing_ok

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

Source from the content-addressed store, hash-verified

2085 self.assertFileNotFound(p.unlink)
2086
2087 def test_unlink_missing_ok(self):
2088 p = self.cls(self.base) / 'fileAAA'
2089 self.assertFileNotFound(p.unlink)
2090 p.unlink(missing_ok=True)
2091
2092 def test_rmdir(self):
2093 p = self.cls(self.base) / 'dirA'

Callers

nothing calls this directly

Calls 3

assertFileNotFoundMethod · 0.95
clsMethod · 0.45
unlinkMethod · 0.45

Tested by

no test coverage detected