MCPcopy Create free account
hub / github.com/apache/arrow / test_unknown_compression_raises

Function test_unknown_compression_raises

python/pyarrow/tests/test_io.py:1769–1775  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1767
1768
1769def 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", [

Callers

nothing calls this directly

Calls 1

CodecClass · 0.50

Tested by

no test coverage detected