(self)
| 2480 | os.mkfifo("path", dir_fd=0) |
| 2481 | |
| 2482 | def test_mknod(self): |
| 2483 | self._verify_available("HAVE_MKNODAT") |
| 2484 | if self.mac_ver >= (13, 0): |
| 2485 | self.assertIn("HAVE_MKNODAT", posix._have_functions) |
| 2486 | |
| 2487 | else: |
| 2488 | self.assertNotIn("HAVE_MKNODAT", posix._have_functions) |
| 2489 | |
| 2490 | with self.assertRaisesRegex(NotImplementedError, "dir_fd unavailable"): |
| 2491 | os.mknod("path", dir_fd=0) |
| 2492 | |
| 2493 | def test_rename_replace(self): |
| 2494 | self._verify_available("HAVE_RENAMEAT") |
nothing calls this directly
no test coverage detected