MCPcopy Index your code
hub / github.com/RustPython/RustPython / tempdir

Method tempdir

Lib/test/test_posix.py:1022–1026  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1020 self.check_chmod(posix.chmod, os_helper.TESTFN)
1021
1022 def tempdir(self):
1023 target = os_helper.TESTFN + 'd'
1024 posix.mkdir(target)
1025 self.addCleanup(posix.rmdir, target)
1026 return target
1027
1028 @os_helper.skip_unless_working_chmod
1029 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