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

Method test_equals

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

Source from the content-addressed store, hash-verified

142 self.assertLazyAndIdentical(u[0].squeeze(), v[0].squeeze())
143
144 def test_equals(self):
145 v = self.lazy_var
146 assert v.equals(v)
147 assert isinstance(v.data, da.Array)
148 assert v.identical(v)
149 assert isinstance(v.data, da.Array)
150
151 def test_transpose(self):
152 u = self.eager_var

Callers

nothing calls this directly

Calls 2

equalsMethod · 0.45
identicalMethod · 0.45

Tested by

no test coverage detected