Skip to content

Commit af1639c

Browse files
committed
test_misc passed
1 parent 488c50d commit af1639c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pandas/tests/base/test_misc.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,10 @@ def test_searchsorted(request, index_or_series_obj):
149149

150150
if isinstance(obj, pd.MultiIndex):
151151
request.applymarker(pytest.mark.xfail(reason="GH 14833", strict=False))
152-
return
153152

154153
if isinstance(obj, Index):
155154
if obj.inferred_type in ["mixed", "mixed-integer"]:
156-
try:
157-
obj = obj.astype(str)
158-
except (TypeError, ValueError):
159-
request.applymarker(pytest.mark.xfail(reason="Mixed types"))
160-
return
155+
request.applymarker(pytest.mark.xfail(reason="Mixed types"))
161156

162157
elif obj.dtype.kind == "c":
163158
return

0 commit comments

Comments
 (0)