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

Function test_unknown_compression_raises

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

Source from the content-addressed store, hash-verified

1734
1735
1736def 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", [

Callers

nothing calls this directly

Calls 1

CodecClass · 0.50

Tested by

no test coverage detected