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

Method test_basic

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

Source from the content-addressed store, hash-verified

1201
1202
1203 def test_basic(self):
1204 # SpooledTemporaryFile can create files
1205 f = self.do_create()
1206 self.assertFalse(f._rolled)
1207 f = self.do_create(max_size=100, pre="a", suf=".txt")
1208 self.assertFalse(f._rolled)
1209
1210 def test_is_iobase(self):
1211 # SpooledTemporaryFile should implement io.IOBase

Callers

nothing calls this directly

Calls 2

do_createMethod · 0.95
assertFalseMethod · 0.80

Tested by

no test coverage detected