Skip to content

Commit bf1bef5

Browse files
authored
CI: remove xfail in test_to_xarray_index_types (#59013)
* CI: xfail test_to_xarray_index_types only on v2024.5 * Remove xfail
1 parent f703cab commit bf1bef5

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

pandas/tests/generic/test_to_xarray.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
date_range,
1010
)
1111
import pandas._testing as tm
12-
from pandas.util.version import Version
1312

1413
pytest.importorskip("xarray")
1514

@@ -30,17 +29,11 @@ def df(self):
3029
}
3130
)
3231

33-
def test_to_xarray_index_types(self, index_flat, df, using_infer_string, request):
32+
def test_to_xarray_index_types(self, index_flat, df, using_infer_string):
3433
index = index_flat
3534
# MultiIndex is tested in test_to_xarray_with_multiindex
3635
if len(index) == 0:
3736
pytest.skip("Test doesn't make sense for empty index")
38-
import xarray
39-
40-
if Version(xarray.__version__) >= Version("2024.5"):
41-
request.applymarker(
42-
pytest.mark.xfail(reason="https://github.com/pydata/xarray/issues/9026")
43-
)
4437

4538
from xarray import Dataset
4639

0 commit comments

Comments
 (0)