(self)
| 6739 | |
| 6740 | @_no_tracing |
| 6741 | def test_basic(self): |
| 6742 | x = np.array([[1, 0, 0], [0, 1, 0], [0, 0, 1]]) |
| 6743 | x.resize((5, 5)) |
| 6744 | assert_array_equal(x.flat[:9], |
| 6745 | np.array([[1, 0, 0], [0, 1, 0], [0, 0, 1]]).flat) |
| 6746 | assert_array_equal(x[9:].flat, 0) |
| 6747 | |
| 6748 | def test_check_reference(self): |
| 6749 | x = np.array([[1, 0, 0], [0, 1, 0], [0, 0, 1]]) |
nothing calls this directly
no test coverage detected