We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 488c50d commit af1639cCopy full SHA for af1639c
pandas/tests/base/test_misc.py
@@ -149,15 +149,10 @@ def test_searchsorted(request, index_or_series_obj):
149
150
if isinstance(obj, pd.MultiIndex):
151
request.applymarker(pytest.mark.xfail(reason="GH 14833", strict=False))
152
- return
153
154
if isinstance(obj, Index):
155
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
+ request.applymarker(pytest.mark.xfail(reason="Mixed types"))
161
162
elif obj.dtype.kind == "c":
163
return
0 commit comments