(self)
| 641 | self.assertRaises(TypeError, R().readlines, 1) |
| 642 | |
| 643 | def test_raw_bytes_io(self): |
| 644 | f = self.BytesIO() |
| 645 | self.write_ops(f) |
| 646 | data = f.getvalue() |
| 647 | self.assertEqual(data, b"hello world\n") |
| 648 | f = self.BytesIO(data) |
| 649 | self.read_ops(f, True) |
| 650 | |
| 651 | def test_large_file_ops(self): |
| 652 | # On Windows and Apple platforms this test consumes large resources; It |
nothing calls this directly
no test coverage detected