(tmpdir)
| 326 | |
| 327 | |
| 328 | def test_py2_local_bytes(tmpdir): |
| 329 | fn = str(tmpdir / "myfile.txt.gz") |
| 330 | with gzip.open(fn, mode="wb") as f: |
| 331 | f.write(b"hello\nworld") |
| 332 | |
| 333 | files = open_files(fn, compression="gzip", mode="rt") |
| 334 | |
| 335 | with files[0] as f: |
| 336 | assert all(isinstance(line, str) for line in f) |
| 337 | |
| 338 | |
| 339 | def test_abs_paths(tmpdir): |
nothing calls this directly
no test coverage detected
searching dependent graphs…