(self)
| 2390 | os.mkfifo("path", dir_fd=0) |
| 2391 | |
| 2392 | def test_mknod(self): |
| 2393 | self._verify_available("HAVE_MKNODAT") |
| 2394 | if self.mac_ver >= (13, 0): |
| 2395 | self.assertIn("HAVE_MKNODAT", posix._have_functions) |
| 2396 | |
| 2397 | else: |
| 2398 | self.assertNotIn("HAVE_MKNODAT", posix._have_functions) |
| 2399 | |
| 2400 | with self.assertRaisesRegex(NotImplementedError, "dir_fd unavailable"): |
| 2401 | os.mknod("path", dir_fd=0) |
| 2402 | |
| 2403 | def test_rename_replace(self): |
| 2404 | self._verify_available("HAVE_RENAMEAT") |
nothing calls this directly
no test coverage detected