(self)
| 605 | assert_raises(ValueError, vsplit, a, 2) |
| 606 | |
| 607 | def test_1D_array(self): |
| 608 | a = np.array([1, 2, 3, 4]) |
| 609 | try: |
| 610 | vsplit(a, 2) |
| 611 | assert_(0) |
| 612 | except ValueError: |
| 613 | pass |
| 614 | |
| 615 | def test_2D_array(self): |
| 616 | a = np.array([[1, 2, 3, 4], |