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

Method test_tuple

numpy/core/tests/test_shape_base.py:757–759  ·  view source on GitHub ↗
(self, block)

Source from the content-addressed store, hash-verified

755 assert_raises_regex(ValueError, 'empty', block, [[1], []])
756
757 def test_tuple(self, block):
758 assert_raises_regex(TypeError, 'tuple', block, ([1, 2], [3, 4]))
759 assert_raises_regex(TypeError, 'tuple', block, [(1, 2), (3, 4)])
760
761 def test_different_ndims(self, block):
762 a = 1.

Callers

nothing calls this directly

Calls 1

assert_raises_regexFunction · 0.90

Tested by

no test coverage detected