Skip to content

Commit 16a0060

Browse files
committed
Add groupby_bins test
1 parent 35b71e9 commit 16a0060

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cf_xarray/tests/test_accessor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def test_getitem_ancillary_variables():
9595
("resample", {"time": "M"}, {"T": "M"}),
9696
("rolling", {"lat": 5}, {"Y": 5}),
9797
("groupby", {"group": "time"}, {"group": "T"}),
98+
("groupby_bins", {"group": "lat", "bins": 5}, {"group": "latitude", "bins": 5}),
9899
pytest.param(
99100
"coarsen",
100101
{"lon": 2, "lat": 5},
@@ -105,8 +106,6 @@ def test_getitem_ancillary_variables():
105106
),
106107
# order of above tests is important: See xarray GH4120
107108
# groupby("time.day")?
108-
# groupby_bins
109-
# weighted
110109
),
111110
)
112111
def test_wrapped_classes(obj, attr, xrkwargs, cfkwargs):

0 commit comments

Comments
 (0)