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

Method test_basic

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

Source from the content-addressed store, hash-verified

1182
1183
1184 def test_basic(self):
1185 # SpooledTemporaryFile can create files
1186 f = self.do_create()
1187 self.assertFalse(f._rolled)
1188 f = self.do_create(max_size=100, pre="a", suf=".txt")
1189 self.assertFalse(f._rolled)
1190
1191 def test_is_iobase(self):
1192 # 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