(self)
| 1092 | |
| 1093 | @os_helper.skip_unless_working_chmod |
| 1094 | def test_fchmod_file(self): |
| 1095 | with open(os_helper.TESTFN, 'wb+') as f: |
| 1096 | self.check_chmod(posix.fchmod, f.fileno()) |
| 1097 | self.check_chmod(posix.chmod, f.fileno()) |
| 1098 | |
| 1099 | @unittest.skipUnless(hasattr(posix, 'lchmod'), 'test needs os.lchmod()') |
| 1100 | def test_lchmod_file(self): |
nothing calls this directly
no test coverage detected