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

Method test_merge

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

Source from the content-addressed store, hash-verified

633 self.assertLazyAndEqual(expected, v.to_dataset("x").to_dataarray("x"))
634
635 def test_merge(self):
636 def duplicate_and_merge(array):
637 return xr.merge([array, array.rename("bar")]).to_dataarray()
638
639 expected = duplicate_and_merge(self.eager_array)
640 actual = duplicate_and_merge(self.lazy_array)
641 self.assertLazyAndEqual(expected, actual)
642
643 def test_ufuncs(self):
644 u = self.eager_array

Callers

nothing calls this directly

Calls 1

assertLazyAndEqualMethod · 0.95

Tested by

no test coverage detected