(self)
| 658 | insert(a, 1, a[:, 2, :], axis=1)) |
| 659 | |
| 660 | def test_0d(self): |
| 661 | a = np.array(1) |
| 662 | with pytest.raises(AxisError): |
| 663 | insert(a, [], 2, axis=0) |
| 664 | with pytest.raises(TypeError): |
| 665 | insert(a, [], 2, axis="nonsense") |
| 666 | |
| 667 | def test_subclass(self): |
| 668 | class SubClass(np.ndarray): |