Skip to content

Commit e833869

Browse files
committed
Fix line length issue in test_numpy_compat.py
1 parent 8856592 commit e833869

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/tests/indexes/test_numpy_compat.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,10 @@ def test_numpy_ufuncs_reductions(index, func, request):
159159
if any(isinstance(x, str) for x in index) and \
160160
any(isinstance(x, int) for x in index):
161161
request.applymarker(
162-
pytest.mark.xfail(reason="Cannot compare mixed types (int and str) in ufunc reductions")
162+
pytest.mark.xfail(
163+
reason="Cannot compare mixed types (int and str) in ufunc reductions" \
164+
" and should raise a TypeError"
165+
)
163166
)
164167

165168
if isinstance(index, CategoricalIndex) and index.dtype.ordered is False:

0 commit comments

Comments
 (0)