(self)
| 207 | assert_array_equal(res, desired) |
| 208 | |
| 209 | def test_generator(self): |
| 210 | with pytest.raises(TypeError, match="arrays to stack must be"): |
| 211 | vstack((np.arange(3) for _ in range(2))) |
| 212 | |
| 213 | def test_casting_and_dtype(self): |
| 214 | a = np.array([1, 2, 3]) |