(tmpdir)
| 1635 | |
| 1636 | |
| 1637 | def test_compressed_input_bz2(tmpdir): |
| 1638 | data = b"some test data\n" * 10 + b"eof\n" |
| 1639 | fn = str(tmpdir / "compressed_input_test.bz2") |
| 1640 | with bz2.BZ2File(fn, "w") as f: |
| 1641 | f.write(data) |
| 1642 | try: |
| 1643 | check_compressed_input(data, fn, "bz2") |
| 1644 | except NotImplementedError as e: |
| 1645 | pytest.skip(str(e)) |
| 1646 | |
| 1647 | |
| 1648 | @pytest.mark.gzip |
nothing calls this directly
no test coverage detected