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

Method test_statx_attributes_bytes

Lib/test/test_os/test_os.py:865–870  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

863
864 @unittest.skipUnless(hasattr(os, 'statx'), 'test needs os.statx()')
865 def test_statx_attributes_bytes(self):
866 try:
867 fname = self.fname.encode(sys.getfilesystemencoding())
868 except UnicodeEncodeError:
869 self.skipTest("cannot encode %a for the filesystem" % self.fname)
870 self.check_statx_attributes(fname)
871
872 @unittest.skipUnless(hasattr(os, 'statx'), 'test needs os.statx()')
873 def test_statx_attributes_pathlike(self):

Callers

nothing calls this directly

Calls 3

skipTestMethod · 0.80
encodeMethod · 0.45

Tested by

no test coverage detected