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

Method test_choose_directory

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

Source from the content-addressed store, hash-verified

787 os.rmdir(i)
788
789 def test_choose_directory(self):
790 # mkdtemp can create directories in a user-selected directory
791 dir = tempfile.mkdtemp()
792 try:
793 os.rmdir(self.do_create(dir=dir))
794 os.rmdir(self.do_create(dir=os_helper.FakePath(dir)))
795 finally:
796 os.rmdir(dir)
797
798 @os_helper.skip_unless_working_chmod
799 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