(self)
| 39 | eye(3, dtype=bool)) |
| 40 | |
| 41 | def test_uint64(self): |
| 42 | # Regression test for gh-9982 |
| 43 | assert_equal(eye(np.uint64(2), dtype=int), array([[1, 0], [0, 1]])) |
| 44 | assert_equal(eye(np.uint64(2), M=np.uint64(4), k=np.uint64(1)), |
| 45 | array([[0, 1, 0, 0], [0, 0, 1, 0]])) |
| 46 | |
| 47 | def test_diag(self): |
| 48 | assert_equal(eye(4, k=1), |
nothing calls this directly
no test coverage detected