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

Method test_basic

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

Source from the content-addressed store, hash-verified

913 return file
914
915 def test_basic(self):
916 # mktemp can choose usable file names
917 self.do_create()
918 self.do_create(pre="a")
919 self.do_create(suf="b")
920 self.do_create(pre="a", suf="b")
921 self.do_create(pre="aa", suf=".txt")
922
923 def test_many(self):
924 # 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