(tmpdir)
| 1594 | |
| 1595 | @pytest.mark.gzip |
| 1596 | def test_compressed_input_gzip(tmpdir): |
| 1597 | data = b"some test data\n" * 10 + b"eof\n" |
| 1598 | fn = str(tmpdir / "compressed_input_test.gz") |
| 1599 | with gzip.open(fn, "wb") as f: |
| 1600 | f.write(data) |
| 1601 | check_compressed_input(data, fn, "gzip") |
| 1602 | |
| 1603 | |
| 1604 | def test_compressed_input_bz2(tmpdir): |
nothing calls this directly
no test coverage detected