Skip to content

Commit c5e76f1

Browse files
author
shdongre
committed
fix C401 warning
1 parent 7a04711 commit c5e76f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/base/test_misc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def test_searchsorted(request, index_or_series_obj):
160160
mark = pytest.mark.xfail(reason="complex objects are not comparable")
161161
request.applymarker(mark)
162162

163-
elif len(set(type(x) for x in obj)) > 1 and isinstance(obj, Index):
163+
elif len({type(x) for x in obj}) > 1 and isinstance(obj, Index):
164164
mark = pytest.mark.xfail(reason="np.searchsorted doesn't work on mixed types")
165165
request.applymarker(mark)
166166

0 commit comments

Comments
 (0)