(self)
| 1613 | |
| 1614 | @unittest.skipUnless(os.access in os.supports_dir_fd, "test needs dir_fd support for os.access()") |
| 1615 | def test_access_dir_fd(self): |
| 1616 | with self.prepare_file() as (dir_fd, name, fullname): |
| 1617 | self.assertTrue(posix.access(name, os.R_OK, dir_fd=dir_fd)) |
| 1618 | |
| 1619 | @unittest.skipUnless(os.chmod in os.supports_dir_fd, "test needs dir_fd support in os.chmod()") |
| 1620 | def test_chmod_dir_fd(self): |
nothing calls this directly
no test coverage detected