Skip to content

Commit

Permalink
CI: xfail test_to_xarray_index_types only on v2024.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloqeely committed Jun 14, 2024
1 parent de5d732 commit 75e9804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/generic/test_to_xarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_to_xarray_index_types(self, index_flat, df, using_infer_string, request
pytest.skip("Test doesn't make sense for empty index")
import xarray

if Version(xarray.__version__) >= Version("2024.5"):
if Version(xarray.__version__) == Version("2024.5"):
request.applymarker(
pytest.mark.xfail(reason="https://github.com/pydata/xarray/issues/9026")
)
Expand Down

0 comments on commit 75e9804

Please sign in to comment.