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

Method test_new_chunk

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

Source from the content-addressed store, hash-verified

386 self.assertLazyAndIdentical(self.lazy_array, chunked)
387
388 def test_new_chunk(self):
389 chunked = self.eager_array.chunk()
390 assert chunked.data.name.startswith("xarray-<this-array>")
391
392 def test_lazy_dataset(self):
393 lazy_ds = Dataset({"foo": (("x", "y"), self.data)})

Callers

nothing calls this directly

Calls 2

startswithMethod · 0.80
chunkMethod · 0.45

Tested by

no test coverage detected