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

Method test_many_arguments

numpy/lib/tests/test_function_base.py:485–489  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

483 assert_raises(TypeError, select, conditions, choices)
484
485 def test_many_arguments(self):
486 # This used to be limited by NPY_MAXARGS == 32
487 conditions = [np.array([False])] * 100
488 choices = [np.array([1])] * 100
489 select(conditions, choices)
490
491
492class TestInsert:

Callers

nothing calls this directly

Calls 1

selectFunction · 0.90

Tested by

no test coverage detected