(self)
| 1784 | np.squeeze(np.array([[1],[2],[3]]), axis=0) |
| 1785 | |
| 1786 | def test_reduce_contiguous(self): |
| 1787 | # GitHub issue #387 |
| 1788 | a = np.add.reduce(np.zeros((2, 1, 2)), (0, 1)) |
| 1789 | b = np.add.reduce(np.zeros((2, 1, 2)), 1) |
| 1790 | assert_(a.flags.c_contiguous) |
| 1791 | assert_(a.flags.f_contiguous) |
| 1792 | assert_(b.flags.c_contiguous) |
| 1793 | |
| 1794 | @pytest.mark.skipif(IS_PYSTON, reason="Pyston disables recursion checking") |
| 1795 | def test_object_array_self_reference(self): |