MCPcopy Create free account
hub / github.com/numpy/numpy / test_generator

Method test_generator

numpy/core/tests/test_shape_base.py:209–211  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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])

Callers

nothing calls this directly

Calls 1

vstackFunction · 0.90

Tested by

no test coverage detected