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

Method test_basic_many

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

Source from the content-addressed store, hash-verified

442 self.do_create(dir=dir_b, pre=b"", suf="").write(b"blat")
443
444 def test_basic_many(self):
445 # _mkstemp_inner can create many files (stochastic)
446 extant = list(range(TEST_FILES))
447 for i in extant:
448 extant[i] = self.do_create(pre="aa")
449
450 def test_choose_directory(self):
451 # _mkstemp_inner can create files in a user-selected directory

Callers

nothing calls this directly

Calls 2

do_createMethod · 0.95
listClass · 0.85

Tested by

no test coverage detected