(self)
| 489 | assert_equal(np.where(a != 0), (i, i, i, i)) |
| 490 | |
| 491 | def test_low_dim_handling(self): |
| 492 | # raise error with low dimensionality |
| 493 | a = np.zeros(3, int) |
| 494 | with assert_raises_regex(ValueError, "at least 2-d"): |
| 495 | fill_diagonal(a, 5) |
| 496 | |
| 497 | def test_hetero_shape_handling(self): |
| 498 | # raise error with high dimensionality and |
nothing calls this directly
no test coverage detected