(self)
| 1712 | |
| 1713 | @unittest.skipUnless(os.mkdir in os.supports_dir_fd, "test needs dir_fd support in os.mkdir()") |
| 1714 | def test_mkdir_dir_fd(self): |
| 1715 | with self.prepare() as (dir_fd, name, fullname): |
| 1716 | posix.mkdir(name, dir_fd=dir_fd) |
| 1717 | self.addCleanup(posix.rmdir, fullname) |
| 1718 | posix.stat(fullname) # should not raise exception |
| 1719 | |
| 1720 | @unittest.skipUnless(hasattr(os, 'mknod') |
| 1721 | and (os.mknod in os.supports_dir_fd) |
nothing calls this directly
no test coverage detected