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

Method test_rechunk

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

Source from the content-addressed store, hash-verified

381 assert rechunked.chunksizes == expected_chunksizes
382
383 def test_rechunk(self):
384 chunked = self.eager_array.chunk({"x": 2}).chunk({"y": 2})
385 assert chunked.chunks == ((2,) * 2, (2,) * 3)
386 self.assertLazyAndIdentical(self.lazy_array, chunked)
387
388 def test_new_chunk(self):
389 chunked = self.eager_array.chunk()

Callers

nothing calls this directly

Calls 2

chunkMethod · 0.45

Tested by

no test coverage detected