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

Function test_outer_exceeds_maxdims

numpy/core/tests/test_umath.py:4703–4706  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4701 assert type(np.add.outer([1, 2], arr)) is cls
4702
4703def test_outer_exceeds_maxdims():
4704 deep = np.ones((1,) * 17)
4705 with assert_raises(ValueError):
4706 np.add.outer(deep, deep)
4707
4708def test_bad_legacy_ufunc_silent_errors():
4709 # 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