()
| 1759 | |
| 1760 | |
| 1761 | def test_unknown_compression_raises(): |
| 1762 | with pytest.raises(ValueError): |
| 1763 | Codec.is_available('unknown') |
| 1764 | with pytest.raises(TypeError): |
| 1765 | Codec(None) |
| 1766 | with pytest.raises(ValueError): |
| 1767 | Codec('unknown') |
| 1768 | |
| 1769 | |
| 1770 | @pytest.mark.parametrize("compression", [ |