(self)
| 736 | self.open(FakePath(os_helper.TESTFN), 'rwxa', encoding="utf-8") |
| 737 | |
| 738 | def test_RawIOBase_readall(self): |
| 739 | # Exercise the default unlimited RawIOBase.read() and readall() |
| 740 | # implementations. |
| 741 | rawio = self.MockRawIOWithoutRead((b"abc", b"d", b"efg")) |
| 742 | self.assertEqual(rawio.read(), b"abcdefg") |
| 743 | rawio = self.MockRawIOWithoutRead((b"abc", b"d", b"efg")) |
| 744 | self.assertEqual(rawio.readall(), b"abcdefg") |
| 745 | |
| 746 | def test_BufferedIOBase_readinto(self): |
| 747 | # Exercise the default BufferedIOBase.readinto() and readinto1() |
nothing calls this directly
no test coverage detected