Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_invalid_initialization
Method
test_invalid_initialization
numpy/random/tests/test_randomstate.py:115–116 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
113
rs.seed(1234)
114
115
def
test_invalid_initialization(self):
116
assert_raises(ValueError, random.RandomState, MT19937)
117
118
119
class
TestBinomial:
Callers
nothing calls this directly
Calls
1
assert_raises
Function · 0.90
Tested by
no test coverage detected