5
5
import pytest
6
6
7
7
from pandas ._libs import iNaT
8
- from pandas .compat .numpy import _is_numpy_dev
9
8
from pandas .errors import InvalidIndexError
10
9
11
10
from pandas .core .dtypes .common import is_datetime64tz_dtype
@@ -418,7 +417,7 @@ def test_set_ops_error_cases(self, case, method, index):
418
417
with pytest .raises (TypeError , match = msg ):
419
418
getattr (index , method )(case )
420
419
421
- def test_intersection_base (self , index , request ):
420
+ def test_intersection_base (self , index ):
422
421
if isinstance (index , CategoricalIndex ):
423
422
return
424
423
@@ -435,15 +434,6 @@ def test_intersection_base(self, index, request):
435
434
# GH 10149
436
435
cases = [klass (second .values ) for klass in [np .array , Series , list ]]
437
436
for case in cases :
438
- # https://github.com/pandas-dev/pandas/issues/35481
439
- if (
440
- _is_numpy_dev
441
- and isinstance (case , Series )
442
- and isinstance (index , UInt64Index )
443
- ):
444
- mark = pytest .mark .xfail (reason = "gh-35481" )
445
- request .node .add_marker (mark )
446
-
447
437
result = first .intersection (case )
448
438
assert tm .equalContents (result , second )
449
439
0 commit comments