()
| 1767 | |
| 1768 | |
| 1769 | def test_unknown_compression_raises(): |
| 1770 | with pytest.raises(ValueError): |
| 1771 | Codec.is_available('unknown') |
| 1772 | with pytest.raises(TypeError): |
| 1773 | Codec(None) |
| 1774 | with pytest.raises(ValueError): |
| 1775 | Codec('unknown') |
| 1776 | |
| 1777 | |
| 1778 | @pytest.mark.parametrize("compression", [ |