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

Method test_basic

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

Source from the content-addressed store, hash-verified

659 os.unlink(name)
660
661 def test_basic(self):
662 # mkstemp can create files
663 self.do_create()
664 self.do_create(pre="a")
665 self.do_create(suf="b")
666 self.do_create(pre="a", suf="b")
667 self.do_create(pre="aa", suf=".txt")
668 self.do_create(dir=".")
669
670 def test_basic_with_bytes_names(self):
671 # mkstemp can create files when given name parts all

Callers

nothing calls this directly

Calls 1

do_createMethod · 0.95

Tested by

no test coverage detected