(self)
| 2603 | align(left, right, foo="bar") # type: ignore[call-overload] |
| 2604 | |
| 2605 | def test_align_exact(self) -> None: |
| 2606 | left = xr.Dataset(coords={"x": [0, 1]}) |
| 2607 | right = xr.Dataset(coords={"x": [1, 2]}) |
| 2608 | |
| 2609 | left1, left2 = xr.align(left, left, join="exact") |
| 2610 | assert_identical(left1, left) |
| 2611 | assert_identical(left2, left) |
| 2612 | |
| 2613 | with pytest.raises(ValueError, match=r"cannot align.*join.*exact.*not equal.*"): |
| 2614 | xr.align(left, right, join="exact") |
| 2615 | |
| 2616 | def test_align_override(self) -> None: |
| 2617 | left = xr.Dataset(coords={"x": [0, 1, 2]}) |
nothing calls this directly
no test coverage detected