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

Method test_lstat

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

Source from the content-addressed store, hash-verified

2598
2599 @needs_symlinks
2600 def test_lstat(self):
2601 p = self.cls(self.base)/ 'linkA'
2602 st = p.stat()
2603 self.assertNotEqual(st, p.lstat())
2604
2605 def test_lstat_nosymlink(self):
2606 p = self.cls(self.base) / 'fileA'

Callers

nothing calls this directly

Calls 4

assertNotEqualMethod · 0.80
lstatMethod · 0.80
clsMethod · 0.45
statMethod · 0.45

Tested by

no test coverage detected