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 105352a commit 2ad71a5Copy full SHA for 2ad71a5
pandas/tests/base/test_misc.py
@@ -161,12 +161,10 @@ def test_searchsorted(request, index_or_series_obj):
161
)
162
return
163
164
- # 2b. Complex types
165
elif obj.dtype.kind == "c":
166
request.applymarker(pytest.mark.xfail(reason="Complex types", strict=False))
167
168
169
- # 3. Run test ONLY if there isn't mixed/complex types
170
max_obj = max(obj, default=0)
171
index = np.searchsorted(obj, max_obj)
172
assert 0 <= index <= len(obj)
0 commit comments