Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 90ef70f

Browse files
committed
updates mock
1 parent e5973a0 commit 90ef70f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/unit/test__pandas_helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2262,6 +2262,7 @@ def test_download_arrow_row_iterator_timeout(module_under_test):
22622262
# Mock page with to_arrow method
22632263
mock_page = mock.Mock()
22642264
mock_page.to_arrow.return_value = pyarrow.RecordBatch.from_pydict({"name": ["foo"]})
2265+
mock_page.__iter__ = lambda self: iter(["row1"])
22652266

22662267
def slow_pages():
22672268
# First page yields quickly

0 commit comments

Comments
 (0)