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

Method test_bivariate_xufunc

xarray/tests/test_sparse.py:301–303  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

299 assert_sparse_equal(xu.sin(self.var).data, np.sin(self.data))
300
301 def test_bivariate_xufunc(self):
302 assert_sparse_equal(xu.multiply(self.var, 0).data, np.multiply(self.data, 0))
303 assert_sparse_equal(xu.multiply(0, self.var).data, np.multiply(0, self.data))
304
305 def test_repr(self):
306 expected = dedent(

Callers

nothing calls this directly

Calls 2

assert_sparse_equalFunction · 0.85
multiplyMethod · 0.80

Tested by

no test coverage detected