(self)
| 467 | assert_equal(np.where(a != 0), (i, i, i, i)) |
| 468 | |
| 469 | def test_low_dim_handling(self): |
| 470 | # raise error with low dimensionality |
| 471 | a = np.zeros(3, int) |
| 472 | with assert_raises_regex(ValueError, "at least 2-d"): |
| 473 | fill_diagonal(a, 5) |
| 474 | |
| 475 | def test_hetero_shape_handling(self): |
| 476 | # raise error with high dimensionality and |
nothing calls this directly
no test coverage detected