(self)
| 2368 | os.scandir(0) |
| 2369 | |
| 2370 | def test_mkdir(self): |
| 2371 | self._verify_available("HAVE_MKDIRAT") |
| 2372 | if self.mac_ver >= (10, 10): |
| 2373 | self.assertIn("HAVE_MKDIRAT", posix._have_functions) |
| 2374 | |
| 2375 | else: |
| 2376 | self.assertNotIn("HAVE_MKDIRAT", posix._have_functions) |
| 2377 | |
| 2378 | with self.assertRaisesRegex(NotImplementedError, "dir_fd unavailable"): |
| 2379 | os.mkdir("dir", dir_fd=0) |
| 2380 | |
| 2381 | def test_mkfifo(self): |
| 2382 | self._verify_available("HAVE_MKFIFOAT") |
nothing calls this directly
no test coverage detected