(self)
| 461 | ) |
| 462 | |
| 463 | def test_operate_4d_array(self): |
| 464 | a = np.zeros((3, 3, 3, 3), int) |
| 465 | fill_diagonal(a, 4) |
| 466 | i = np.array([0, 1, 2]) |
| 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 |
nothing calls this directly
no test coverage detected