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

Commit 8ee106c

Browse files
committed
updates mock with subscriptable columns
1 parent 90ef70f commit 8ee106c

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
@@ -2263,6 +2263,7 @@ def test_download_arrow_row_iterator_timeout(module_under_test):
22632263
mock_page = mock.Mock()
22642264
mock_page.to_arrow.return_value = pyarrow.RecordBatch.from_pydict({"name": ["foo"]})
22652265
mock_page.__iter__ = lambda self: iter(["row1"])
2266+
mock_page._columns = [["foo"]]
22662267

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

0 commit comments

Comments
 (0)