(self)
| 2484 | self.check_flush_and_read(lambda bufio, *args: bufio.read(*args)) |
| 2485 | |
| 2486 | def test_flush_and_readinto(self): |
| 2487 | def _readinto(bufio, n=-1): |
| 2488 | b = bytearray(n if n >= 0 else 9999) |
| 2489 | n = bufio.readinto(b) |
| 2490 | return bytes(b[:n]) |
| 2491 | self.check_flush_and_read(_readinto) |
| 2492 | |
| 2493 | def test_flush_and_peek(self): |
| 2494 | def _peek(bufio, n=-1): |
nothing calls this directly
no test coverage detected