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

Method test_flush_and_read

Lib/test/test_io/test_bufferedio.py:1292–1293  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1290 self.assertEqual(b"XYZ", read_func(bufio, 3))
1291
1292 def test_flush_and_read(self):
1293 self.check_flush_and_read(lambda bufio, *args: bufio.read(*args))
1294
1295 def test_flush_and_readinto(self):
1296 def _readinto(bufio, n=-1):

Callers

nothing calls this directly

Calls 2

check_flush_and_readMethod · 0.95
readMethod · 0.45

Tested by

no test coverage detected