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

Function test_unknown_compression_raises

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

Source from the content-addressed store, hash-verified

1759
1760
1761def 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", [

Callers

nothing calls this directly

Calls 1

CodecClass · 0.50

Tested by

no test coverage detected