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

Method test_many

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

Source from the content-addressed store, hash-verified

921 self.do_create(pre="aa", suf=".txt")
922
923 def test_many(self):
924 # mktemp can choose many usable file names (stochastic)
925 extant = list(range(TEST_FILES))
926 for i in extant:
927 extant[i] = self.do_create(pre="aa")
928 del extant
929 support.gc_collect() # For PyPy or other GCs.
930
931## def test_warning(self):
932## # mktemp issues a warning when used

Callers

nothing calls this directly

Calls 2

do_createMethod · 0.95
listClass · 0.85

Tested by

no test coverage detected