(self)
| 2520 | assert isinstance(converted_subok.data, NdArraySubclass) |
| 2521 | |
| 2522 | def test_is_null(self) -> None: |
| 2523 | x = np.random.default_rng(42).random((5, 6)) |
| 2524 | x[x < 0] = np.nan |
| 2525 | original = DataArray(x, [-np.arange(5), np.arange(6)], ["x", "y"]) |
| 2526 | expected = DataArray(pd.isnull(x), [-np.arange(5), np.arange(6)], ["x", "y"]) |
| 2527 | assert_identical(expected, original.isnull()) |
| 2528 | assert_identical(~expected, original.notnull()) |
| 2529 | |
| 2530 | def test_math(self) -> None: |
| 2531 | x = self.x |
nothing calls this directly
no test coverage detected