Skip to content

Commit b405140

Browse files
committed
Change equality assertion to tm.assert_frame_equal
In line with (pandas-dev#44803).
1 parent 7e3de8c commit b405140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/groupby/test_groupby.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_group_by_copy():
4343

4444
grp_by_same_value = df.groupby(["age"]).apply(lambda group: group)
4545
grp_by_copy = df.groupby(["age"]).apply(lambda group: group.copy())
46-
assert grp_by_same_value == grp_by_copy
46+
tm.assert_frame_equal(grp_by_same_value, grp_by_copy)
4747

4848

4949
def test_repr():

0 commit comments

Comments
 (0)