(tmpdir)
| 1681 | |
| 1682 | @pytest.mark.gzip |
| 1683 | def test_compressed_concatenated_gzip(tmpdir): |
| 1684 | data = b"some test data\n" * 10 + b"eof\n" |
| 1685 | fn = str(tmpdir / "compressed_input_test2.gz") |
| 1686 | with gzip.open(fn, "wb") as f: |
| 1687 | f.write(data[:50]) |
| 1688 | with gzip.open(fn, "ab") as f: |
| 1689 | f.write(data[50:]) |
| 1690 | check_compressed_concatenated(data, fn, "gzip") |
| 1691 | |
| 1692 | |
| 1693 | @pytest.mark.gzip |
nothing calls this directly
no test coverage detected