(self)
| 1103 | |
| 1104 | @unittest.skipUnless(hasattr(posix, 'lchmod'), 'test needs os.lchmod()') |
| 1105 | def test_lchmod_dir(self): |
| 1106 | target = self.tempdir() |
| 1107 | self.check_chmod(posix.lchmod, target) |
| 1108 | self.check_chmod(posix.chmod, target, follow_symlinks=False) |
| 1109 | |
| 1110 | def check_chmod_link(self, chmod_func, target, link, **kwargs): |
| 1111 | target_mode = os.stat(target).st_mode |
nothing calls this directly
no test coverage detected