MCPcopy
hub / github.com/pydata/xarray / test_univariate_ufunc

Method test_univariate_ufunc

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

Source from the content-addressed store, hash-verified

263 v[0].item() # type: ignore[attr-defined]
264
265 def test_univariate_ufunc(self):
266 u = self.eager_var
267 v = self.lazy_var
268 self.assertLazyAndAllClose(np.sin(u), np.sin(v))
269
270 def test_bivariate_ufunc(self):
271 u = self.eager_var

Callers

nothing calls this directly

Calls 2

assertLazyAndAllCloseMethod · 0.95
sinMethod · 0.80

Tested by

no test coverage detected