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

Method test_writes_and_peek

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

Source from the content-addressed store, hash-verified

2518 BufferedWriterTest.test_threads(self)
2519
2520 def test_writes_and_peek(self):
2521 def _peek(bufio):
2522 bufio.peek(1)
2523 self.check_writes(_peek)
2524 def _peek(bufio):
2525 pos = bufio.tell()
2526 bufio.seek(-1, 1)
2527 bufio.peek(1)
2528 bufio.seek(pos, 0)
2529 self.check_writes(_peek)
2530
2531 def test_writes_and_reads(self):
2532 def _read(bufio):

Callers

nothing calls this directly

Calls 1

check_writesMethod · 0.80

Tested by

no test coverage detected