(file_fixture, options)
| 361 | pa.ipc.IpcReadOptions(use_threads=False), |
| 362 | ]) |
| 363 | def test_open_file_options(file_fixture, options): |
| 364 | file_fixture.write_batches() |
| 365 | source = file_fixture.get_source() |
| 366 | |
| 367 | reader = pa.ipc.open_file(source, options=options) |
| 368 | |
| 369 | reader.read_all() |
| 370 | |
| 371 | st = reader.stats |
| 372 | assert st.num_messages == 6 |
| 373 | assert st.num_record_batches == 5 |
| 374 | |
| 375 | |
| 376 | def test_open_file_with_wrong_options(file_fixture): |
nothing calls this directly
no test coverage detected