File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
pandas/tests/indexes/object Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 3
3
import numpy as np
4
4
import pytest
5
5
6
- from pandas ._libs .missing import (
7
- NA ,
8
- is_matching_na ,
9
- )
6
+ from pandas ._libs .missing import is_matching_na
10
7
11
8
from pandas import Index
12
9
import pandas ._testing as tm
@@ -67,12 +64,8 @@ def test_get_indexer_with_NA_values(
67
64
68
65
69
66
class TestGetIndexerNonUnique :
70
- def test_get_indexer_non_unique_nas (
71
- self , nulls_fixture , request , using_infer_string
72
- ):
67
+ def test_get_indexer_non_unique_nas (self , nulls_fixture ):
73
68
# even though this isn't non-unique, this should still work
74
- if using_infer_string and (nulls_fixture is None or nulls_fixture is NA ):
75
- request .applymarker (pytest .mark .xfail (reason = "NAs are cast to NaN" ))
76
69
index = Index (["a" , "b" , nulls_fixture ], dtype = object )
77
70
indexer , missing = index .get_indexer_non_unique ([nulls_fixture ])
78
71
You can’t perform that action at this time.
0 commit comments