Skip to content

Commit

Permalink
TST: Cython doesn't raise TypeError, so just comment out for now
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Berg <[email protected]>
  • Loading branch information
seberg committed Jan 20, 2025
1 parent 64ab9c3 commit dd1570a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/tests/test_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@ def test_na_position_explicit():
(["bad_col", None, None]),
(["a"], [Order.ASCENDING] * 2, None),
(["a"], None, [NullOrder.BEFORE] * 2),
(["a", "b"], [Order.ASCENDING] * 2, [Order.ASCENDING] * 2),
(["a", "b"], [NullOrder.BEFORE] * 2, [NullOrder.BEFORE] * 2),
# These should fail (wrong enum passed), but cython doesn't check:
# (["a", "b"], [Order.ASCENDING] * 2, [Order.ASCENDING] * 2),
# (["a", "b"], [NullOrder.BEFORE] * 2, [NullOrder.BEFORE] * 2),
],
)
def test_errors_incorrect_args(keys, column_order, null_precedence):
Expand Down

0 comments on commit dd1570a

Please sign in to comment.