Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_numpy
Function
test_numpy
dask/tests/test_sizeof.py:41–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
39
40
41
def
test_numpy():
42
np = pytest.importorskip(
"numpy"
)
43
assert 8000 <= sizeof(np.empty(1000, dtype=
"f8"
)) <= 9000
44
dt = np.dtype(
"f8"
)
45
assert sizeof(dt) == sys.getsizeof(dt)
46
47
48
def
test_numpy_0_strided():
Callers
nothing calls this directly
Calls
2
empty
Method · 0.45
dtype
Method · 0.45
Tested by
no test coverage detected