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

Function test_reshape_exceptions

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

Source from the content-addressed store, hash-verified

1515
1516
1517def test_reshape_exceptions():
1518 x = np.random.default_rng().integers(10, size=(5,))
1519 a = from_array(x, chunks=(2,))
1520 with pytest.raises(ValueError):
1521 da.reshape(a, (100,))
1522
1523
1524def test_reshape_splat():

Callers

nothing calls this directly

Calls 3

from_arrayFunction · 0.90
reshapeMethod · 0.80
integersMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…