Skip to content

Commit eec9366

Browse files
fixup no longer needed xfail
1 parent 7801bb3 commit eec9366

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

pandas/tests/indexes/object/test_indexing.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
import numpy as np
44
import pytest
55

6-
from pandas._libs.missing import (
7-
NA,
8-
is_matching_na,
9-
)
6+
from pandas._libs.missing import is_matching_na
107

118
from pandas import Index
129
import pandas._testing as tm
@@ -67,12 +64,8 @@ def test_get_indexer_with_NA_values(
6764

6865

6966
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):
7368
# 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"))
7669
index = Index(["a", "b", nulls_fixture], dtype=object)
7770
indexer, missing = index.get_indexer_non_unique([nulls_fixture])
7871

0 commit comments

Comments
 (0)