Skip to content
forked from pydata/xarray

Commit

Permalink
xfail cftimeindex multiindex test (pydata#2669)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
shoyer authored Jan 13, 2019
1 parent d4c4682 commit 44a8c97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xarray/tests/test_cftimeindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,7 @@ def test_to_datetimeindex_feb_29(calendar):


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

0 comments on commit 44a8c97

Please sign in to comment.