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