Skip to content

Commit 3bb0217

Browse files
committed
migrate test to xarray
1 parent d648448 commit 3bb0217

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/test_xarray.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,4 @@ def test_xarray_groupby_bins(chunks):
290290
)
291291
xr.testing.assert_equal(actual, expected)
292292

293-
da = xr.DataArray(np.random.randn(2, 3, 4))
294-
bins = [-1, 0, 1, 2]
295-
with xr.set_options(use_numpy_groupies=False):
296-
actual = da.groupby_bins("dim_0", bins).mean(...)
297-
with xr.set_options(use_numpy_groupies=True):
298-
expected = da.groupby_bins("dim_0", bins).mean(...)
299-
xr.testing.assert_allclose(actual, expected)
300-
301293
# TODO: test cut_kwargs

0 commit comments

Comments
 (0)