()
| 1289 | @pytest.mark.xfail(reason="fails on pandas main branch") |
| 1290 | @requires_cftime |
| 1291 | def test_multiindex(): |
| 1292 | index = xr.date_range( |
| 1293 | "2001-01-01", periods=100, calendar="360_day", use_cftime=True |
| 1294 | ) |
| 1295 | mindex = pd.MultiIndex.from_arrays([index]) |
| 1296 | assert mindex.get_loc("2001-01") == slice(0, 30) |
| 1297 | |
| 1298 | |
| 1299 | @requires_cftime |
nothing calls this directly
no test coverage detected
searching dependent graphs…