(self)
| 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): |
nothing calls this directly
no test coverage detected