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

Function test_python_file_readall

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

PythonFileMethod · 0.80

Tested by

no test coverage detected