Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_nbytes
Function
test_nbytes
dask/array/tests/test_array_core.py:2821–2823 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2819
2820
2821
def
test_nbytes():
2822
x = da.ones((10, 2), chunks=(3, 1))
2823
assert x.nbytes == np.array(x).nbytes
2824
2825
2826
def
test_itemsize():
Callers
nothing calls this directly
Calls
1
ones
Method · 0.45
Tested by
no test coverage detected