Skip to content

Commit

Permalink
chore(python): Assert deprecation warning on check_column_names (#6110)
Browse files Browse the repository at this point in the history
  • Loading branch information
zundertj committed Jan 8, 2023
1 parent 77c4608 commit 2f7f212
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py-polars/tests/unit/test_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ def test_assert_frame_equal_column_mismatch_order() -> None:
assert_frame_equal(df1, df2, check_column_order=False)

# deprecated param name
assert_frame_equal(df1, df2, check_column_names=False) # type: ignore[call-arg]
with pytest.deprecated_call():
assert_frame_equal(df1, df2, check_column_names=False) # type: ignore[call-arg]


def test_assert_frame_equal_ignore_row_order() -> None:
Expand Down

0 comments on commit 2f7f212

Please sign in to comment.