(self)
| 263 | assert_identical(actual, expected) |
| 264 | |
| 265 | def test_name(self) -> None: |
| 266 | arr = self.dv |
| 267 | assert arr.name == "foo" |
| 268 | |
| 269 | copied = arr.copy() |
| 270 | arr.name = "bar" |
| 271 | assert arr.name == "bar" |
| 272 | assert_equal(copied, arr) |
| 273 | |
| 274 | actual = DataArray(IndexVariable("x", [3])) |
| 275 | actual.name = "y" |
| 276 | expected = DataArray([3], [("x", [3])], name="y") |
| 277 | assert_identical(actual, expected) |
| 278 | |
| 279 | def test_dims(self) -> None: |
| 280 | arr = self.dv |
nothing calls this directly
no test coverage detected