(self)
| 2560 | assert len(result["dim_0"]) == 0 |
| 2561 | |
| 2562 | def test_inplace_math_basics(self) -> None: |
| 2563 | x = self.x |
| 2564 | a = self.dv |
| 2565 | v = a.variable |
| 2566 | b = a |
| 2567 | b += 1 |
| 2568 | assert b is a |
| 2569 | assert b.variable is v |
| 2570 | assert_array_equal(b.values, x) |
| 2571 | assert source_ndarray(b.values) is x |
| 2572 | |
| 2573 | def test_inplace_math_error(self) -> None: |
| 2574 | data = np.random.rand(4) |
nothing calls this directly
no test coverage detected