(self)
| 272 | line_length = (line_length + 1) % 50 |
| 273 | |
| 274 | def test_readlines(self): |
| 275 | self.test_write() |
| 276 | # Try .readlines() |
| 277 | |
| 278 | with gzip.GzipFile(self.filename, 'rb') as f: |
| 279 | L = f.readlines() |
| 280 | |
| 281 | with gzip.GzipFile(self.filename, 'rb') as f: |
| 282 | while 1: |
| 283 | L = f.readlines(150) |
| 284 | if L == []: break |
| 285 | |
| 286 | def test_seek_read(self): |
| 287 | self.test_write() |
nothing calls this directly
no test coverage detected