Skip to content

Commit 52e09cc

Browse files
fix tests
1 parent be6bee7 commit 52e09cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integ/modin/groupby/test_groupby_idxmax_idxmin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def grouper(c):
157157
native_res = df.groupby(by=grouper, axis=1).idxmax(axis=0)
158158
with pytest.raises(
159159
NotImplementedError,
160-
match="GroupBy does not yet support axis == 1, by != None and level != None, or by containing any non-pandas hashable labels.",
160+
match="Groupby does not yet support axis == 1, by != None and level != None, or by containing any non-pandas hashable labels.",
161161
):
162162
snow_res = pd.DataFrame(df).groupby(by=grouper, axis=1).idxmax(axis=0)
163163
assert_frame_equal(native_res, snow_res, check_index_type=False)

tests/integ/modin/groupby/test_grouping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def test_select_cols_with_axis_1_raise(single_row_dfs):
178178
lambda df: df.groupby("A", axis=1)["B"],
179179
expect_exception=True,
180180
expect_exception_type=NotImplementedError,
181-
expect_exception_match="GroupBy does not yet support axis == 1, by != None and level != None, or by containing any non-pandas hashable labels.",
181+
expect_exception_match="Groupby does not yet support axis == 1, by != None and level != None, or by containing any non-pandas hashable labels.",
182182
)
183183

184184

0 commit comments

Comments
 (0)