Skip to content

Commit 13fccbe

Browse files
committed
Refactor test_table_from_batches_stream to use pa.table for improved clarity
1 parent 2f68d8b commit 13fccbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/tests/test_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,6 @@ def test_arrow_c_stream_large_dataset(ctx):
128128
def test_table_from_batches_stream(ctx, fail_collect):
129129
df = range_table(ctx, 0, 10)
130130

131-
table = pa.Table.from_batches(batch.to_pyarrow() for batch in df)
131+
table = pa.table(df)
132132
assert table.shape == (10, 1)
133133
assert table.column_names == ["value"]

0 commit comments

Comments
 (0)