Skip to content

Commit 0b2e755

Browse files
committed
done
1 parent 7d13666 commit 0b2e755

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pandas/tests/base/test_misc.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ def test_searchsorted(request, index_or_series_obj):
150150
# Handle mixed int string
151151
if isinstance(obj, Index) and obj.inferred_type in ["mixed", "mixed-integer"]:
152152
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+
)
154156
)
155157
obj = obj.unique()
156158

@@ -162,7 +164,8 @@ def test_searchsorted(request, index_or_series_obj):
162164
# See gh-14833
163165
request.applymarker(
164166
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,
166169
)
167170
)
168171
return
@@ -176,9 +179,7 @@ def test_searchsorted(request, index_or_series_obj):
176179

177180
if isinstance(obj, Index) and obj.inferred_type == "tuples":
178181
# 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)
182183

183184
# Only proceed if obj is not mixed or unsupported
184185
try:

0 commit comments

Comments
 (0)