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

Method test_writes_and_readintos

Lib/test/test_io.py:2543–2547  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2541 self.check_writes(_read1)
2542
2543 def test_writes_and_readintos(self):
2544 def _read(bufio):
2545 bufio.seek(-1, 1)
2546 bufio.readinto(bytearray(1))
2547 self.check_writes(_read)
2548
2549 def test_write_after_readahead(self):
2550 # Issue #6629: writing after the buffer was filled by readahead should

Callers

nothing calls this directly

Calls 1

check_writesMethod · 0.80

Tested by

no test coverage detected