MCPcopy
hub / github.com/numpy/numpy / test_generator

Method test_generator

numpy/lib/tests/test_shape_base.py:560–562  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

dstackFunction · 0.90

Tested by

no test coverage detected