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

Method test_bivariate_ufunc

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

Source from the content-addressed store, hash-verified

268 self.assertLazyAndAllClose(np.sin(u), np.sin(v))
269
270 def test_bivariate_ufunc(self):
271 u = self.eager_var
272 v = self.lazy_var
273 self.assertLazyAndAllClose(np.maximum(u, 0), np.maximum(v, 0))
274 self.assertLazyAndAllClose(np.maximum(u, 0), np.maximum(0, v))
275
276 def test_univariate_xufunc(self):
277 u = self.eager_var

Callers

nothing calls this directly

Calls 1

assertLazyAndAllCloseMethod · 0.95

Tested by

no test coverage detected