Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_repr
Method
test_repr
numpy/random/tests/test_randomstate.py:273–274 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
271
assert_mt19937_state_equal(attr_state, state)
272
273
def
test_repr(self):
274
assert repr(self.random_state).startswith(
'RandomState(MT19937)'
)
275
276
277
class
TestRandint:
Callers
nothing calls this directly
Calls
1
startswith
Method · 0.80
Tested by
no test coverage detected