MCPcopy Index your code
hub / github.com/numpy/numpy / test_generator

Method test_generator

numpy/_core/tests/test_shape_base.py:230–232  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

228 assert_array_equal(res, desired)
229
230 def test_generator(self):
231 with pytest.raises(TypeError, match="arrays to stack must be"):
232 vstack(np.arange(3) for _ in range(2))
233
234 def test_casting_and_dtype(self):
235 a = np.array([1, 2, 3])

Callers

nothing calls this directly

Calls 1

vstackFunction · 0.90

Tested by

no test coverage detected