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

Method flush

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

Source from the content-addressed store, hash-verified

58 record.append(2)
59 super().close()
60 def flush(self):
61 record.append(3)
62 super().flush()
63 rawio = self.MockRawIO()
64 bufio = MyBufferedIO(rawio)
65 del bufio

Callers 15

test_constructorMethod · 0.45
test_writeMethod · 0.45
check_writesMethod · 0.45
test_write_and_rewindMethod · 0.45
test_flushMethod · 0.45
test_writelinesMethod · 0.45
test_writeMethod · 0.45
test_seek_and_tellMethod · 0.45
check_flush_and_readMethod · 0.45
test_flush_and_writeMethod · 0.45

Calls 2

superClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected