(tmpdir)
| 1627 | |
| 1628 | @pytest.mark.gzip |
| 1629 | def test_compressed_input_gzip(tmpdir): |
| 1630 | data = b"some test data\n" * 10 + b"eof\n" |
| 1631 | fn = str(tmpdir / "compressed_input_test.gz") |
| 1632 | with gzip.open(fn, "wb") as f: |
| 1633 | f.write(data) |
| 1634 | check_compressed_input(data, fn, "gzip") |
| 1635 | |
| 1636 | |
| 1637 | def test_compressed_input_bz2(tmpdir): |
nothing calls this directly
no test coverage detected