Skip to content

Commit e620b82

Browse files
committed
fix failing test
1 parent 0c159ce commit e620b82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tests/test_dataframe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,8 @@ def test_execution_plan(aggregate_df):
761761
batch = stream.next()
762762
assert batch is not None
763763
# there should be no more batches
764-
batch = stream.next()
765-
assert batch is None
764+
with pytest.raises(StopIteration):
765+
stream.next()
766766

767767

768768
def test_repartition(df):

0 commit comments

Comments
 (0)