Skip to content

Commit

Permalink
Change equality assertion to tm.assert_frame_equal
Browse files Browse the repository at this point in the history
In line with (pandas-dev#44803).
  • Loading branch information
NumberPiOso committed Jan 21, 2022
1 parent 7e3de8c commit b405140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/groupby/test_groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_group_by_copy():

grp_by_same_value = df.groupby(["age"]).apply(lambda group: group)
grp_by_copy = df.groupby(["age"]).apply(lambda group: group.copy())
assert grp_by_same_value == grp_by_copy
tm.assert_frame_equal(grp_by_same_value, grp_by_copy)


def test_repr():
Expand Down

0 comments on commit b405140

Please sign in to comment.