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

Method test_generator

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

Source from the content-addressed store, hash-verified

529 assert_array_equal(res, desired)
530
531 def test_generator(self):
532 with pytest.raises(TypeError, match="arrays to stack must be"):
533 dstack((np.arange(3) for _ in range(2)))
534
535
536# array_split has more comprehensive test of splitting.

Callers

nothing calls this directly

Calls 1

dstackFunction · 0.90

Tested by

no test coverage detected