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

Function check_compressed_concatenated

python/pyarrow/tests/test_io.py:1675–1679  ·  view source on GitHub ↗
(data, fn, compression)

Source from the content-addressed store, hash-verified

1673
1674
1675def check_compressed_concatenated(data, fn, compression):
1676 raw = pa.OSFile(fn, mode="rb")
1677 with pa.CompressedInputStream(raw, compression) as compressed:
1678 got = compressed.read()
1679 assert got == data
1680
1681
1682@pytest.mark.gzip

Callers 1

Calls 1

readMethod · 0.45

Tested by

no test coverage detected