Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel.oranyeli committed Dec 16, 2024
1 parent a9a5965 commit b7ffe75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/functions/test_pivot_wider_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,7 @@ def test_pivot_wider_spec(df_checks):
actual = df_checks.pipe(
pivot_wider_spec, spec=spec, index=["famid", "birth"]
)
assert_frame_equal(actual, expected)
assert_frame_equal(
actual.sort_values(expected.columns.tolist(), ignore_index=True),
expected.sort_values(expected.columns.tolist(), ignore_index=True),
)

0 comments on commit b7ffe75

Please sign in to comment.