Skip to content

Commit d3c68cc

Browse files
kosiewkylebarron
andauthored
Update python/tests/test_io.py
Co-authored-by: Kyle Barron <[email protected]>
1 parent 9dc3fb2 commit d3c68cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tests/test_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_arrow_c_stream_large_dataset(ctx):
109109
# Create a very large DataFrame using range; this would be terabytes if collected
110110
df = range_table(ctx, 0, 1 << 40)
111111

112-
reader = pa.RecordBatchReader._import_from_c_capsule(df.__arrow_c_stream__())
112+
reader = pa.RecordBatchReader.from_stream(df)
113113

114114
# Track RSS before consuming batches
115115
psutil = pytest.importorskip("psutil")

0 commit comments

Comments
 (0)