(self)
| 558 | assert_array_equal(res, desired) |
| 559 | |
| 560 | def test_generator(self): |
| 561 | with pytest.raises(TypeError, match="arrays to stack must be"): |
| 562 | dstack(np.arange(3) for _ in range(2)) |
| 563 | |
| 564 | |
| 565 | # array_split has more comprehensive test of splitting. |