(self)
| 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): |
nothing calls this directly
no test coverage detected