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

Method test_basic

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

Source from the content-addressed store, hash-verified

932 return file
933
934 def test_basic(self):
935 # mktemp can choose usable file names
936 self.do_create()
937 self.do_create(pre="a")
938 self.do_create(suf="b")
939 self.do_create(pre="a", suf="b")
940 self.do_create(pre="aa", suf=".txt")
941
942 def test_many(self):
943 # mktemp can choose many usable file names (stochastic)

Callers

nothing calls this directly

Calls 1

do_createMethod · 0.95

Tested by

no test coverage detected