(self)
| 1673 | |
| 1674 | @unittest.skipUnless(os.access in os.supports_dir_fd, "test needs dir_fd support for os.access()") |
| 1675 | def test_access_dir_fd(self): |
| 1676 | with self.prepare_file() as (dir_fd, name, fullname): |
| 1677 | self.assertTrue(posix.access(name, os.R_OK, dir_fd=dir_fd)) |
| 1678 | |
| 1679 | @unittest.skipUnless(os.chmod in os.supports_dir_fd, "test needs dir_fd support in os.chmod()") |
| 1680 | def test_chmod_dir_fd(self): |
nothing calls this directly
no test coverage detected