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

Function test_array_cumreduction_out

dask/array/tests/test_reductions.py:708–711  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

706
707@pytest.mark.parametrize("func", [np.cumsum, np.cumprod])
708def test_array_cumreduction_out(func):
709 x = da.ones((10, 10), chunks=(4, 4))
710 func(x, axis=0, out=x)
711 assert_eq(x, func(np.ones((10, 10)), axis=0))
712
713
714@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

assert_eqFunction · 0.90
funcFunction · 0.70
onesMethod · 0.45

Tested by

no test coverage detected