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

Method test_statx_dir_fd

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

Source from the content-addressed store, hash-verified

1729
1730 @unittest.skipUnless(hasattr(posix, 'statx'), "test needs os.statx()")
1731 def test_statx_dir_fd(self):
1732 def func(path, **kwargs):
1733 return posix.statx(path, os.STATX_INO, **kwargs)
1734 self.check_statlike_dir_fd(func, prefix="stx_")
1735
1736 @unittest.skipUnless(os.utime in os.supports_dir_fd, "test needs dir_fd support in os.utime()")
1737 def test_utime_dir_fd(self):

Callers

nothing calls this directly

Calls 1

check_statlike_dir_fdMethod · 0.95

Tested by

no test coverage detected