(self)
| 2953 | assert_identical(actual, renamed) |
| 2954 | |
| 2955 | def test_drop_vars_callable(self) -> None: |
| 2956 | A = DataArray( |
| 2957 | np.random.randn(2, 3), dims=["x", "y"], coords={"x": [1, 2], "y": [3, 4, 5]} |
| 2958 | ) |
| 2959 | expected = A.drop_vars(["x", "y"]) |
| 2960 | actual = A.drop_vars(lambda x: x.indexes) |
| 2961 | assert_identical(expected, actual) |
| 2962 | |
| 2963 | def test_drop_multiindex_level(self) -> None: |
| 2964 | # GH6505 |
nothing calls this directly
no test coverage detected