Skip to content

Commit 2ad71a5

Browse files
xaris96mroeschke
andauthored
Update pandas/tests/base/test_misc.py
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 105352a commit 2ad71a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pandas/tests/base/test_misc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,10 @@ def test_searchsorted(request, index_or_series_obj):
161161
)
162162
return
163163

164-
# 2b. Complex types
165164
elif obj.dtype.kind == "c":
166165
request.applymarker(pytest.mark.xfail(reason="Complex types", strict=False))
167166
return
168167

169-
# 3. Run test ONLY if there isn't mixed/complex types
170168
max_obj = max(obj, default=0)
171169
index = np.searchsorted(obj, max_obj)
172170
assert 0 <= index <= len(obj)

0 commit comments

Comments
 (0)