Skip to content

Commit aa61b3f

Browse files
authored
CI/TST: Unxfail test_slice_locs_negative_step Pyarrow test (#58268)
1 parent d34b82c commit aa61b3f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

pandas/tests/indexes/object/test_indexing.py

+1-11
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
NA,
88
is_matching_na,
99
)
10-
from pandas.compat import pa_version_under16p0
1110
import pandas.util._test_decorators as td
1211

1312
import pandas as pd
@@ -202,16 +201,7 @@ class TestSliceLocs:
202201
(pd.IndexSlice["m":"m":-1], ""), # type: ignore[misc]
203202
],
204203
)
205-
def test_slice_locs_negative_step(self, in_slice, expected, dtype, request):
206-
if (
207-
not pa_version_under16p0
208-
and dtype == "string[pyarrow_numpy]"
209-
and in_slice == slice("a", "a", -1)
210-
):
211-
request.applymarker(
212-
pytest.mark.xfail(reason="https://github.com/apache/arrow/issues/40642")
213-
)
214-
204+
def test_slice_locs_negative_step(self, in_slice, expected, dtype):
215205
index = Index(list("bcdxy"), dtype=dtype)
216206

217207
s_start, s_stop = index.slice_locs(in_slice.start, in_slice.stop, in_slice.step)

0 commit comments

Comments
 (0)