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

Method test_writes_and_peek

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

Source from the content-addressed store, hash-verified

1328 BufferedWriterTest.test_threads(self)
1329
1330 def test_writes_and_peek(self):
1331 def _peek(bufio):
1332 bufio.peek(1)
1333 self.check_writes(_peek)
1334 def _peek(bufio):
1335 pos = bufio.tell()
1336 bufio.seek(-1, 1)
1337 bufio.peek(1)
1338 bufio.seek(pos, 0)
1339 self.check_writes(_peek)
1340
1341 def test_writes_and_reads(self):
1342 def _read(bufio):

Callers

nothing calls this directly

Calls 1

check_writesMethod · 0.80

Tested by

no test coverage detected