(self)
| 159 | float(1)) |
| 160 | |
| 161 | def test_invalid_prob(self): |
| 162 | assert_raises(ValueError, random.multinomial, 100, [1.1, 0.2]) |
| 163 | assert_raises(ValueError, random.multinomial, 100, [-.1, 0.9]) |
| 164 | |
| 165 | def test_invalid_n(self): |
| 166 | assert_raises(ValueError, random.multinomial, -1, [0.8, 0.2]) |
nothing calls this directly
no test coverage detected