MCPcopy Create free account
hub / github.com/python/cpython / test_stat_dir_fd

Method test_stat_dir_fd

Lib/test/test_os/test_posix.py:1727–1728  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1725
1726 @unittest.skipUnless(os.stat in os.supports_dir_fd, "test needs dir_fd support in os.stat()")
1727 def test_stat_dir_fd(self):
1728 self.check_statlike_dir_fd(posix.stat, prefix="st_")
1729
1730 @unittest.skipUnless(hasattr(posix, 'statx'), "test needs os.statx()")
1731 def test_statx_dir_fd(self):

Callers

nothing calls this directly

Calls 1

check_statlike_dir_fdMethod · 0.95

Tested by

no test coverage detected