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

Function test_blockwise_zero_shape

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

Source from the content-addressed store, hash-verified

4697
4698
4699def test_blockwise_zero_shape():
4700 da.blockwise(
4701 lambda x: x,
4702 "i",
4703 da.arange(10, chunks=10),
4704 "i",
4705 da.from_array(np.ones((0, 2)), ((0,), 2)),
4706 "ab",
4707 da.from_array(np.ones((0,)), ((0,),)),
4708 "a",
4709 dtype="float64",
4710 )
4711
4712
4713def test_blockwise_zero_shape_new_axes():

Callers

nothing calls this directly

Calls 2

arangeMethod · 0.45
onesMethod · 0.45

Tested by

no test coverage detected