(self)
| 2256 | self.assertNotHasAttr(os, "preadv") |
| 2257 | |
| 2258 | def test_stat(self): |
| 2259 | self._verify_available("HAVE_FSTATAT") |
| 2260 | if self.mac_ver >= (10, 10): |
| 2261 | self.assertIn("HAVE_FSTATAT", posix._have_functions) |
| 2262 | |
| 2263 | else: |
| 2264 | self.assertNotIn("HAVE_FSTATAT", posix._have_functions) |
| 2265 | |
| 2266 | with self.assertRaisesRegex(NotImplementedError, "dir_fd unavailable"): |
| 2267 | os.stat("file", dir_fd=0) |
| 2268 | |
| 2269 | def test_ptsname_r(self): |
| 2270 | self._verify_available("HAVE_PTSNAME_R") |
nothing calls this directly
no test coverage detected