From 44a8c97b1a1938992aa32a6f885e22251fcd36ce Mon Sep 17 00:00:00 2001 From: Stephan Hoyer Date: Sun, 13 Jan 2019 19:07:18 +0200 Subject: [PATCH] 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 https://github.com/pandas-dev/pandas/issues/24263 --- xarray/tests/test_cftimeindex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xarray/tests/test_cftimeindex.py b/xarray/tests/test_cftimeindex.py index 3c4fc67c5eb..3fe014bdaba 100644 --- a/xarray/tests/test_cftimeindex.py +++ b/xarray/tests/test_cftimeindex.py @@ -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])