MCPcopy Create free account
hub / github.com/dask/dask / test_constructors_chunks_dict

Function test_constructors_chunks_dict

dask/array/tests/test_array_core.py:4897–4902  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4895
4896
4897def test_constructors_chunks_dict():
4898 x = da.ones((20, 20), chunks={0: 10, 1: 5})
4899 assert x.chunks == ((10, 10), (5, 5, 5, 5))
4900
4901 x = da.ones((20, 20), chunks={0: 10, 1: "auto"})
4902 assert x.chunks == ((10, 10), (20,))
4903
4904
4905def test_from_array_chunks_dict():

Callers

nothing calls this directly

Calls 1

onesMethod · 0.45

Tested by

no test coverage detected