Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_constructor
Method · 0.45
test_write
Method · 0.45
check_writes
Method · 0.45
test_writes_and_flushes
Method · 0.45
test_write_and_rewind
Method · 0.45
test_flush
Method · 0.45
test_writelines
Method · 0.45
test_writelines_userlist
Method · 0.45
test_write
Method · 0.45
test_seek_and_tell
Method · 0.45
check_flush_and_read
Method · 0.45
test_flush_and_write
Method · 0.45
Calls
2
super
Class · 0.85
append
Method · 0.45
Tested by
no test coverage detected