| 980 | def test_buffered_readinto_mixin(self): |
| 981 | # Test the implementation provided by BufferedIOBase |
| 982 | class Stream(self.BufferedIOBase): |
| 983 | def read(self, size): |
| 984 | return b"12345" |
| 985 | read1 = read |
| 986 | stream = Stream() |
| 987 | for method in ("readinto", "readinto1"): |
| 988 | with self.subTest(method): |
no outgoing calls