(self)
| 1019 | self.open(FakePath(os_helper.TESTFN), 'rwxa', encoding="utf-8") |
| 1020 | |
| 1021 | def test_RawIOBase_readall(self): |
| 1022 | # Exercise the default unlimited RawIOBase.read() and readall() |
| 1023 | # implementations. |
| 1024 | rawio = self.MockRawIOWithoutRead((b"abc", b"d", b"efg")) |
| 1025 | self.assertEqual(rawio.read(), b"abcdefg") |
| 1026 | rawio = self.MockRawIOWithoutRead((b"abc", b"d", b"efg")) |
| 1027 | self.assertEqual(rawio.readall(), b"abcdefg") |
| 1028 | |
| 1029 | def test_BufferedIOBase_readinto(self): |
| 1030 | # Exercise the default BufferedIOBase.readinto() and readinto1() |
nothing calls this directly
no test coverage detected