()
| 22 | |
| 23 | |
| 24 | def test_assert_eq_array(): |
| 25 | x = np.arange(6).reshape((2, 3)) |
| 26 | d = da.from_array(x, chunks=(1, 3)) |
| 27 | assert_eq(d, x) |
| 28 | assert_eq(d, d) |
| 29 | with pytest.raises(AssertionError): |
| 30 | assert_eq(d, x + 1) |
| 31 | |
| 32 | |
| 33 | def test_assert_eq_checks_shape(): |