File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,9 @@ def test_searchsorted(request, index_or_series_obj):
150
150
# Handle mixed int string
151
151
if isinstance (obj , Index ) and obj .inferred_type in ["mixed" , "mixed-integer" ]:
152
152
request .applymarker (
153
- pytest .mark .xfail (reason = "Cannot compare mixed types (str and int)" , strict = False )
153
+ pytest .mark .xfail (
154
+ reason = "Cannot compare mixed types (str and int)" , strict = False
155
+ )
154
156
)
155
157
obj = obj .unique ()
156
158
@@ -162,7 +164,8 @@ def test_searchsorted(request, index_or_series_obj):
162
164
# See gh-14833
163
165
request .applymarker (
164
166
pytest .mark .xfail (
165
- reason = "np.searchsorted doesn't work on pd.MultiIndex: GH 14833" , strict = False
167
+ reason = "np.searchsorted doesn't work on pd.MultiIndex: GH 14833" ,
168
+ strict = False ,
166
169
)
167
170
)
168
171
return
@@ -176,9 +179,7 @@ def test_searchsorted(request, index_or_series_obj):
176
179
177
180
if isinstance (obj , Index ) and obj .inferred_type == "tuples" :
178
181
# Tuples may not be supported by np.searchsorted
179
- pytest .mark .xfail (
180
- reason = "Cannot handle tuples in searchsorted" , strict = False
181
- )
182
+ pytest .mark .xfail (reason = "Cannot handle tuples in searchsorted" , strict = False )
182
183
183
184
# Only proceed if obj is not mixed or unsupported
184
185
try :
You can’t perform that action at this time.
0 commit comments