(stream_fixture)
| 726 | |
| 727 | |
| 728 | def test_stream_read_all(stream_fixture): |
| 729 | batches = stream_fixture.write_batches() |
| 730 | file_contents = pa.BufferReader(stream_fixture.get_source()) |
| 731 | reader = pa.ipc.open_stream(file_contents) |
| 732 | |
| 733 | result = reader.read_all() |
| 734 | expected = pa.Table.from_batches(batches) |
| 735 | assert result.equals(expected) |
| 736 | |
| 737 | |
| 738 | @pytest.mark.pandas |
nothing calls this directly
no test coverage detected