dask: `Data.roll` by davidhassell · Pull Request #352 · NCAS-CMS/cf-python
Expand Up
@@ -1932,7 +1932,6 @@ def test_Data_ndindex(self):
for i, j in zip(d.ndindex(), np.ndindex(d.shape)):
self.assertEqual(i, j)
@unittest.skipIf(TEST_DASKIFIED_ONLY, "no attribute '_pmshape'") def test_Data_roll(self): if self.test_only and inspect.stack()[0][3] not in self.test_only: return Expand All @@ -1941,8 +1940,6 @@ def test_Data_roll(self):
d = cf.Data(a.copy())
_ = d._pmshape
e = d.roll(0, 4) e.roll(2, 120, inplace=True) e.roll(3, -77, inplace=True) Expand Down
@unittest.skipIf(TEST_DASKIFIED_ONLY, "no attribute '_pmshape'") def test_Data_roll(self): if self.test_only and inspect.stack()[0][3] not in self.test_only: return Expand All @@ -1941,8 +1940,6 @@ def test_Data_roll(self):
d = cf.Data(a.copy())
_ = d._pmshape
e = d.roll(0, 4) e.roll(2, 120, inplace=True) e.roll(3, -77, inplace=True) Expand Down