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