MCPcopy Index your code
hub / github.com/python/cpython / test_lchmod_file

Method test_lchmod_file

Lib/test/test_os/test_posix.py:1100–1102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1098
1099 @unittest.skipUnless(hasattr(posix, 'lchmod'), 'test needs os.lchmod()')
1100 def test_lchmod_file(self):
1101 self.check_chmod(posix.lchmod, os_helper.TESTFN)
1102 self.check_chmod(posix.chmod, os_helper.TESTFN, follow_symlinks=False)
1103
1104 @unittest.skipUnless(hasattr(posix, 'lchmod'), 'test needs os.lchmod()')
1105 def test_lchmod_dir(self):

Callers

nothing calls this directly

Calls 1

check_chmodMethod · 0.95

Tested by

no test coverage detected