(self)
| 2719 | super().test_coarsen_2d() # type: ignore[misc] |
| 2720 | |
| 2721 | def test_to_index_variable_copy(self) -> None: |
| 2722 | # to_index_variable should return a copy |
| 2723 | # https://github.com/pydata/xarray/issues/6931 |
| 2724 | a = IndexVariable("x", ["a"]) |
| 2725 | b = a.to_index_variable() |
| 2726 | assert a is not b |
| 2727 | b.dims = ("y",) |
| 2728 | assert a.dims == ("x",) |
| 2729 | |
| 2730 | |
| 2731 | class TestAsCompatibleData(Generic[T_DuckArray]): |
nothing calls this directly
no test coverage detected