(self)
| 483 | ) |
| 484 | |
| 485 | def test_operate_4d_array(self): |
| 486 | a = np.zeros((3, 3, 3, 3), int) |
| 487 | fill_diagonal(a, 4) |
| 488 | i = np.array([0, 1, 2]) |
| 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 |
nothing calls this directly
no test coverage detected