(self)
| 2346 | self.assertNotHasAttr(os, "preadv") |
| 2347 | |
| 2348 | def test_stat(self): |
| 2349 | self._verify_available("HAVE_FSTATAT") |
| 2350 | if self.mac_ver >= (10, 10): |
| 2351 | self.assertIn("HAVE_FSTATAT", posix._have_functions) |
| 2352 | |
| 2353 | else: |
| 2354 | self.assertNotIn("HAVE_FSTATAT", posix._have_functions) |
| 2355 | |
| 2356 | with self.assertRaisesRegex(NotImplementedError, "dir_fd unavailable"): |
| 2357 | os.stat("file", dir_fd=0) |
| 2358 | |
| 2359 | def test_ptsname_r(self): |
| 2360 | self._verify_available("HAVE_PTSNAME_R") |
nothing calls this directly
no test coverage detected