Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_assert_eq_checks_shape
Function
test_assert_eq_checks_shape
dask/array/tests/test_testing.py:33–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
32
33
def
test_assert_eq_checks_shape():
34
a = da.ones(3, chunks=2)
35
assert_eq(a, a)
36
with
pytest.raises(AssertionError):
37
assert_eq(da.ones(2), da.ones(3))
38
39
40
def
test_assert_eq_check_dtype():
Callers
nothing calls this directly
Calls
2
assert_eq
Function · 0.90
ones
Method · 0.45
Tested by
no test coverage detected