MCPcopy
hub / github.com/numpy/numpy / test_p_is_nan

Method test_p_is_nan

numpy/random/tests/test_randomstate.py:133–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131 assert_array_equal(random.binomial(zeros, p), zeros)
132
133 def test_p_is_nan(self):
134 # Issue #4571.
135 assert_raises(ValueError, random.binomial, 1, np.nan)
136
137
138class TestMultinomial:

Callers

nothing calls this directly

Calls 1

assert_raisesFunction · 0.90

Tested by

no test coverage detected