()
| 1734 | |
| 1735 | |
| 1736 | def test_unknown_compression_raises(): |
| 1737 | with pytest.raises(ValueError): |
| 1738 | Codec.is_available('unknown') |
| 1739 | with pytest.raises(TypeError): |
| 1740 | Codec(None) |
| 1741 | with pytest.raises(ValueError): |
| 1742 | Codec('unknown') |
| 1743 | |
| 1744 | |
| 1745 | @pytest.mark.parametrize("compression", [ |