def test_ensure_cftime_array(inp, calout): out = ensure_cftime_array(inp) assert out[0].calendar == calout
def test_ensure_cftime_array(inp, calout): out = ensure_cftime_array(inp) assert get_calendar(out) == calout