(self)
| 5842 | assert_array_equal(x, np.eye(3)[0,:]) |
| 5843 | |
| 5844 | def test_none_shape(self): |
| 5845 | x = np.eye(3) |
| 5846 | x.resize(None) |
| 5847 | assert_array_equal(x, np.eye(3)) |
| 5848 | x.resize() |
| 5849 | assert_array_equal(x, np.eye(3)) |
| 5850 | |
| 5851 | def test_0d_shape(self): |
| 5852 | # to it multiple times to test it does not break alloc cache gh-9216 |
nothing calls this directly
no test coverage detected