Skip to content

Commit b9b8692

Browse files
fix broken tests
1 parent bea592c commit b9b8692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/system/small/test_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_read_gbq_tokyo(
122122
assert exec_result.query_job is not None
123123
assert exec_result.query_job.location == tokyo_location
124124

125-
assert len(expected) == exec_result.total_rows
125+
assert len(expected) == exec_result.batches().approx_total_rows
126126

127127

128128
@pytest.mark.parametrize(
@@ -951,7 +951,7 @@ def test_read_pandas_tokyo(
951951
assert result.query_job is not None
952952
assert result.query_job.location == tokyo_location
953953

954-
assert len(expected) == result.total_rows
954+
assert len(expected) == result.batches().approx_total_rows
955955

956956

957957
@all_write_engines

0 commit comments

Comments
 (0)