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

Method test_ufuncs

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

Source from the content-addressed store, hash-verified

641 self.assertLazyAndEqual(expected, actual)
642
643 def test_ufuncs(self):
644 u = self.eager_array
645 v = self.lazy_array
646 self.assertLazyAndAllClose(np.sin(u), np.sin(v))
647
648 def test_where_dispatching(self):
649 a = np.arange(10)

Callers

nothing calls this directly

Calls 2

assertLazyAndAllCloseMethod · 0.95
sinMethod · 0.80

Tested by

no test coverage detected