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