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

Method test_tuple

numpy/_core/tests/test_shape_base.py:831–833  ·  view source on GitHub ↗
(self, block)

Source from the content-addressed store, hash-verified

829 assert_raises_regex(ValueError, 'empty', block, [[1], []])
830
831 def test_tuple(self, block):
832 assert_raises_regex(TypeError, 'tuple', block, ([1, 2], [3, 4]))
833 assert_raises_regex(TypeError, 'tuple', block, [(1, 2), (3, 4)])
834
835 def test_different_ndims(self, block):
836 a = 1.

Callers

nothing calls this directly

Calls 1

assert_raises_regexFunction · 0.90

Tested by

no test coverage detected