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

Method test_choose_directory

Lib/test/test_tempfile.py:770–777  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

768 os.rmdir(i)
769
770 def test_choose_directory(self):
771 # mkdtemp can create directories in a user-selected directory
772 dir = tempfile.mkdtemp()
773 try:
774 os.rmdir(self.do_create(dir=dir))
775 os.rmdir(self.do_create(dir=os_helper.FakePath(dir)))
776 finally:
777 os.rmdir(dir)
778
779 @os_helper.skip_unless_working_chmod
780 def test_mode(self):

Callers

nothing calls this directly

Calls 3

do_createMethod · 0.95
mkdtempMethod · 0.80
rmdirMethod · 0.80

Tested by

no test coverage detected