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

Function test_array_ufunc_out

dask/array/tests/test_ufunc.py:431–435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

429
430
431def test_array_ufunc_out():
432 x = da.arange(10, chunks=(5,))
433 np.sin(x, out=x)
434 np.add(x, 10, out=x)
435 assert_eq(x, np.sin(np.arange(10)) + 10)
436
437
438def test_unsupported_ufunc_methods():

Callers

nothing calls this directly

Calls 3

assert_eqFunction · 0.90
arangeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected