MCPcopy Index your code
hub / github.com/dask/dask / test_elemwise_differently_chunked

Function test_elemwise_differently_chunked

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

Source from the content-addressed store, hash-verified

1178
1179
1180def test_elemwise_differently_chunked():
1181 x = np.arange(3)
1182 y = np.arange(12).reshape(4, 3)
1183 a = from_array(x, chunks=(3,))
1184 b = from_array(y, chunks=(2, 2))
1185
1186 assert_eq(a + b, x + y)
1187 assert_eq(b + a, x + y)
1188
1189
1190@pytest.mark.filterwarnings("ignore:overflow encountered in cast") # numpy >=2.0

Callers

nothing calls this directly

Calls 4

from_arrayFunction · 0.90
assert_eqFunction · 0.90
reshapeMethod · 0.80
arangeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…