MCPcopy
hub / github.com/numpy/numpy / test_repr

Method test_repr

numpy/random/tests/test_randomstate.py:284–286  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

282 assert_mt19937_state_equal(attr_state, state)
283
284 def test_repr(self):
285 random_state, _ = self._create_state()
286 assert repr(random_state).startswith('RandomState(MT19937)')
287
288
289class TestRandint:

Callers

nothing calls this directly

Calls 2

_create_stateMethod · 0.95
startswithMethod · 0.80

Tested by

no test coverage detected