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

Method test_univariate_xufunc

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

Source from the content-addressed store, hash-verified

274 self.assertLazyAndAllClose(np.maximum(u, 0), np.maximum(0, v))
275
276 def test_univariate_xufunc(self):
277 u = self.eager_var
278 v = self.lazy_var
279 self.assertLazyAndAllClose(np.sin(u), xu.sin(v))
280
281 def test_bivariate_xufunc(self):
282 u = self.eager_var

Callers

nothing calls this directly

Calls 2

assertLazyAndAllCloseMethod · 0.95
sinMethod · 0.80

Tested by

no test coverage detected