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

Function test_python_file_readall

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

Source from the content-addressed store, hash-verified

197
198
199def test_python_file_readall():
200 data = b'some sample data'
201
202 buf = BytesIO(data)
203 with pa.PythonFile(buf, mode='r') as f:
204 assert f.readall() == data
205
206
207def test_python_file_readinto():

Callers

nothing calls this directly

Calls 1

PythonFileMethod · 0.80

Tested by

no test coverage detected