Skip to content

Commit 1dd34fb

Browse files
committed
test numpy compat
1 parent e56091c commit 1dd34fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/indexes/test_numpy_compat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def test_numpy_ufuncs_reductions(index, func, request):
159159
request.applymarker(
160160
pytest.mark.xfail(reason="Cannot compare mixed types in ufunc reductions")
161161
)
162+
raise TypeError("Cannot compare mixed types in ufunc reductions")
162163

163164
if isinstance(index, CategoricalIndex) and index.dtype.ordered is False:
164165
with pytest.raises(TypeError, match="is not ordered for"):

0 commit comments

Comments
 (0)