(self)
| 87 | assert_equal(s.randint(1000), 265) |
| 88 | |
| 89 | def test_invalid_scalar(self): |
| 90 | # seed must be an unsigned 32 bit integer |
| 91 | assert_raises(TypeError, random.RandomState, -0.5) |
| 92 | assert_raises(ValueError, random.RandomState, -1) |
| 93 | |
| 94 | def test_invalid_array(self): |
| 95 | # seed must be an unsigned 32 bit integer |
nothing calls this directly
no test coverage detected