(self)
| 529 | assert_array_equal(res, desired) |
| 530 | |
| 531 | def test_generator(self): |
| 532 | with pytest.raises(TypeError, match="arrays to stack must be"): |
| 533 | dstack((np.arange(3) for _ in range(2))) |
| 534 | |
| 535 | |
| 536 | # array_split has more comprehensive test of splitting. |