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

Function test_rechunk_zero_dim_array

dask/array/tests/test_rechunk.py:273–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

271
272
273def test_rechunk_zero_dim_array():
274 x = da.zeros((4, 0), chunks=3)
275 y = x.rechunk({0: 4})
276 assert y.chunks == ((4,), (0,))
277 assert_eq(x, y)
278
279
280def test_rechunk_zero_dim_array_II():

Callers

nothing calls this directly

Calls 3

assert_eqFunction · 0.90
zerosMethod · 0.45
rechunkMethod · 0.45

Tested by

no test coverage detected