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

Method tempdir

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

Source from the content-addressed store, hash-verified

1080 self.check_chmod(posix.chmod, os_helper.TESTFN)
1081
1082 def tempdir(self):
1083 target = os_helper.TESTFN + 'd'
1084 posix.mkdir(target)
1085 self.addCleanup(posix.rmdir, target)
1086 return target
1087
1088 @os_helper.skip_unless_working_chmod
1089 def test_chmod_dir(self):

Callers 4

test_chmod_dirMethod · 0.95
test_lchmod_dirMethod · 0.95

Calls 2

addCleanupMethod · 0.80
mkdirMethod · 0.45

Tested by

no test coverage detected