Skip to content

Commit d6e8132

Browse files
committed
Refactor test_iter_returns_datafusion_recordbatch to use RecordBatch directly
1 parent 7b5e461 commit d6e8132

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/tests/test_dataframe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
reset_formatter,
4646
)
4747
from datafusion.expr import Window
48-
from datafusion.record_batch import RecordBatch as DataFusionRecordBatch
4948
from pyarrow.csv import write_csv
5049

5150
pa_cffi = pytest.importorskip("pyarrow.cffi")
@@ -401,7 +400,7 @@ def test_iter_batches(df):
401400

402401
def test_iter_returns_datafusion_recordbatch(df):
403402
for batch in df:
404-
assert isinstance(batch, DataFusionRecordBatch)
403+
assert isinstance(batch, RecordBatch)
405404

406405

407406
def test_to_record_batch_stream(df):

0 commit comments

Comments
 (0)