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

Function test_outer_exceeds_maxdims

numpy/_core/tests/test_umath.py:5109–5112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5107 assert type(np.add.outer([1, 2], arr)) is cls
5108
5109def test_outer_exceeds_maxdims():
5110 deep = np.ones((1,) * 33)
5111 with assert_raises(ValueError):
5112 np.add.outer(deep, deep)
5113
5114def test_bad_legacy_ufunc_silent_errors():
5115 # legacy ufuncs can't report errors and NumPy can't check if the GIL

Callers

nothing calls this directly

Calls 2

assert_raisesFunction · 0.90
outerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…