(tmpdir)
| 1602 | |
| 1603 | |
| 1604 | def test_compressed_input_bz2(tmpdir): |
| 1605 | data = b"some test data\n" * 10 + b"eof\n" |
| 1606 | fn = str(tmpdir / "compressed_input_test.bz2") |
| 1607 | with bz2.BZ2File(fn, "w") as f: |
| 1608 | f.write(data) |
| 1609 | try: |
| 1610 | check_compressed_input(data, fn, "bz2") |
| 1611 | except NotImplementedError as e: |
| 1612 | pytest.skip(str(e)) |
| 1613 | |
| 1614 | |
| 1615 | @pytest.mark.gzip |
nothing calls this directly
no test coverage detected