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

Method test_iterdir_info

Lib/test/test_pathlib/test_read.py:102–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100 self.assertRaises(OSError, p.iterdir)
101
102 def test_iterdir_info(self):
103 for child in self.root.iterdir():
104 self.assertIsInstance(child.info, PathInfo)
105 self.assertTrue(child.info.exists(follow_symlinks=False))
106
107 def test_glob(self):
108 if not self.ground.can_symlink:

Callers

nothing calls this directly

Calls 4

assertIsInstanceMethod · 0.80
assertTrueMethod · 0.80
iterdirMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected