MCPcopy Index your code
hub / github.com/pydata/xarray / test_roll

Method test_roll

xarray/tests/test_dask.py:163–167  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

161 assert v.data.chunks == v.shift(x=1).data.chunks
162
163 def test_roll(self):
164 u = self.eager_var
165 v = self.lazy_var
166 self.assertLazyAndIdentical(u.roll(x=2), v.roll(x=2))
167 assert v.data.chunks == v.roll(x=1).data.chunks
168
169 def test_unary_op(self):
170 u = self.eager_var

Callers

nothing calls this directly

Calls 2

rollMethod · 0.45

Tested by

no test coverage detected