(self)
| 648 | assert_equal(b.reshape(2, 2, order='F'), [[2, 6], [4, 8]]) |
| 649 | |
| 650 | def test_reshape_zero_strides(self): |
| 651 | # Issue #380, test reshaping of zero strided arrays |
| 652 | a = np.ones(1) |
| 653 | a = as_strided(a, shape=(5,), strides=(0,)) |
| 654 | assert_(a.reshape(5, 1).strides[0] == 0) |
| 655 | |
| 656 | def test_reshape_zero_size(self): |
| 657 | # GitHub Issue #2700, setting shape failed for 0-sized arrays |
nothing calls this directly
no test coverage detected