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

Function test_bool

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

Source from the content-addressed store, hash-verified

2051
2052
2053def test_bool():
2054 arr = np.arange(100).reshape((10, 10))
2055 darr = da.from_array(arr, chunks=(10, 10))
2056 with pytest.raises(ValueError):
2057 bool(darr)
2058 bool(darr == darr)
2059
2060
2061def test_store_kwargs():

Callers

nothing calls this directly

Calls 2

reshapeMethod · 0.80
arangeMethod · 0.45

Tested by

no test coverage detected