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

Commit 7e551b8

Browse files
committed
test: minor testcase update
1 parent 1a1fc23 commit 7e551b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/system/small/test_dataframe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6287,7 +6287,6 @@ def test_agg_with_dict_containing_non_existing_col_raise_key_error(scalars_dfs):
62876287

62886288
def test_dataframe_count_empty_selection_succeeds(session):
62896289
# Tests that aggregate ops on empty selections don't trigger invalid empty SELECT syntax
6290-
df = session.read_gbq("SELECT 1 AS int_col")
6291-
empty_df = df[[]]
6290+
empty_df = bpd.DataFrame()
62926291
count_series = empty_df.count().to_pandas()
62936292
assert len(count_series) == 0

0 commit comments

Comments
 (0)