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

Method test_iterdir_info

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

Source from the content-addressed store, hash-verified

106 self.assertRaises(OSError, p.iterdir)
107
108 def test_iterdir_info(self):
109 for child in self.root.iterdir():
110 self.assertIsInstance(child.info, PathInfo)
111 self.assertTrue(child.info.exists(follow_symlinks=False))
112
113 def test_glob(self):
114 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