Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_singleton_size
Function
test_singleton_size
dask/array/tests/test_wrap.py:28–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
27
28
def
test_singleton_size():
29
a = ones(10, dtype=
"i4"
, chunks=(4,))
30
x = np.array(a)
31
assert (x == np.ones(10, dtype=
"i4"
)).all()
32
33
34
def
test_kwargs():
Callers
nothing calls this directly
Calls
2
all
Method · 0.45
ones
Method · 0.45
Tested by
no test coverage detected