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 2504717 commit 7a04711Copy full SHA for 7a04711
pandas/tests/base/test_misc.py
@@ -160,7 +160,7 @@ def test_searchsorted(request, index_or_series_obj):
160
mark = pytest.mark.xfail(reason="complex objects are not comparable")
161
request.applymarker(mark)
162
163
- elif set(type(x) for x in obj) > 1 and isinstance(obj, Index):
+ elif len(set(type(x) for x in obj)) > 1 and isinstance(obj, Index):
164
mark = pytest.mark.xfail(reason="np.searchsorted doesn't work on mixed types")
165
166
0 commit comments