(self)
| 336 | self.assertRaises(TypeError, R().readlines, 1) |
| 337 | |
| 338 | def test_raw_bytes_io(self): |
| 339 | f = self.BytesIO() |
| 340 | self.write_ops(f) |
| 341 | data = f.getvalue() |
| 342 | self.assertEqual(data, b"hello world\n") |
| 343 | f = self.BytesIO(data) |
| 344 | self.read_ops(f, True) |
| 345 | |
| 346 | def test_large_file_ops(self): |
| 347 | # On Windows and Apple platforms this test consumes large resources; It |
nothing calls this directly
no test coverage detected