(self)
| 4430 | assert_equal(expected2, actual2) |
| 4431 | |
| 4432 | def test_matmul(self) -> None: |
| 4433 | # copied from above (could make a fixture) |
| 4434 | x = np.linspace(-3, 3, 6) |
| 4435 | y = np.linspace(-3, 3, 5) |
| 4436 | z = range(4) |
| 4437 | da_vals = np.arange(6 * 5 * 4).reshape((6, 5, 4)) |
| 4438 | da = DataArray(da_vals, coords=[x, y, z], dims=["x", "y", "z"]) |
| 4439 | |
| 4440 | result = da @ da |
| 4441 | expected = da.dot(da) |
| 4442 | assert_identical(result, expected) |
| 4443 | |
| 4444 | def test_matmul_align_coords(self) -> None: |
| 4445 | # GH 3694 |
nothing calls this directly
no test coverage detected