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

Method test_basic

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

Source from the content-addressed store, hash-verified

734 raise
735
736 def test_basic(self):
737 # mkdtemp can create directories
738 os.rmdir(self.do_create())
739 os.rmdir(self.do_create(pre="a"))
740 os.rmdir(self.do_create(suf="b"))
741 os.rmdir(self.do_create(pre="a", suf="b"))
742 os.rmdir(self.do_create(pre="aa", suf=".txt"))
743
744 def test_basic_with_bytes_names(self):
745 # mkdtemp can create directories when given all binary parts

Callers

nothing calls this directly

Calls 2

do_createMethod · 0.95
rmdirMethod · 0.80

Tested by

no test coverage detected