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

Method test_basic

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

Source from the content-addressed store, hash-verified

753 raise
754
755 def test_basic(self):
756 # mkdtemp can create directories
757 os.rmdir(self.do_create())
758 os.rmdir(self.do_create(pre="a"))
759 os.rmdir(self.do_create(suf="b"))
760 os.rmdir(self.do_create(pre="a", suf="b"))
761 os.rmdir(self.do_create(pre="aa", suf=".txt"))
762
763 def test_basic_with_bytes_names(self):
764 # 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