(tmpdir)
| 1627 | |
| 1628 | |
| 1629 | def test_compressed_input_bz2(tmpdir): |
| 1630 | data = b"some test data\n" * 10 + b"eof\n" |
| 1631 | fn = str(tmpdir / "compressed_input_test.bz2") |
| 1632 | with bz2.BZ2File(fn, "w") as f: |
| 1633 | f.write(data) |
| 1634 | try: |
| 1635 | check_compressed_input(data, fn, "bz2") |
| 1636 | except NotImplementedError as e: |
| 1637 | pytest.skip(str(e)) |
| 1638 | |
| 1639 | |
| 1640 | @pytest.mark.gzip |
nothing calls this directly
no test coverage detected