(self)
| 1715 | assert_(np.array(np.float32(1.0)).flags.f_contiguous) |
| 1716 | |
| 1717 | def test_squeeze_contiguous(self): |
| 1718 | # Similar to GitHub issue #387 |
| 1719 | a = np.zeros((1, 2)).squeeze() |
| 1720 | b = np.zeros((2, 2, 2), order='F')[:, :, ::2].squeeze() |
| 1721 | assert_(a.flags.c_contiguous) |
| 1722 | assert_(a.flags.f_contiguous) |
| 1723 | assert_(b.flags.f_contiguous) |
| 1724 | |
| 1725 | def test_squeeze_axis_handling(self): |
| 1726 | # Issue #10779 |