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

Function test_open_file_options

python/pyarrow/tests/test_ipc.py:339–349  ·  view source on GitHub ↗
(file_fixture, options)

Source from the content-addressed store, hash-verified

337 pa.ipc.IpcReadOptions(use_threads=False),
338])
339def test_open_file_options(file_fixture, options):
340 file_fixture.write_batches()
341 source = file_fixture.get_source()
342
343 reader = pa.ipc.open_file(source, options=options)
344
345 reader.read_all()
346
347 st = reader.stats
348 assert st.num_messages == 6
349 assert st.num_record_batches == 5
350
351
352def test_open_file_with_wrong_options(file_fixture):

Callers

nothing calls this directly

Calls 2

write_batchesMethod · 0.80
get_sourceMethod · 0.80

Tested by

no test coverage detected