Skip to content

Commit 44a8c97

Browse files
authored
xfail cftimeindex multiindex test (#2669)
It was a nice idea to support CFTimeIndex in a pandas.MultiIndex, but pandas seems to have inadvertently broken this, see pandas-dev/pandas#24263
1 parent d4c4682 commit 44a8c97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xarray/tests/test_cftimeindex.py

+1
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,7 @@ def test_to_datetimeindex_feb_29(calendar):
799799

800800

801801
@pytest.mark.skipif(not has_cftime, reason='cftime not installed')
802+
@pytest.mark.xfail(reason='https://github.com/pandas-dev/pandas/issues/24263')
802803
def test_multiindex():
803804
index = xr.cftime_range('2001-01-01', periods=100, calendar='360_day')
804805
mindex = pd.MultiIndex.from_arrays([index])

0 commit comments

Comments
 (0)