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

Function test_array_ufunc_out

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

Source from the content-addressed store, hash-verified

443
444
445def test_array_ufunc_out():
446 x = da.arange(10, chunks=(5,))
447 np.sin(x, out=x)
448 np.add(x, 10, out=x)
449 assert_eq(x, np.sin(np.arange(10)) + 10)
450
451
452def 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