MCPcopy 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
33def 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
40def test_assert_eq_check_dtype():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
onesMethod · 0.45

Tested by

no test coverage detected