(self)
| 274 | assert_mt19937_state_equal(pickled, unpickled) |
| 275 | |
| 276 | def test_state_setting(self): |
| 277 | random_state, state = self._create_state() |
| 278 | attr_state = random_state.__getstate__() |
| 279 | random_state.standard_normal() |
| 280 | random_state.__setstate__(attr_state) |
| 281 | state = random_state.get_state(legacy=False) |
| 282 | assert_mt19937_state_equal(attr_state, state) |
| 283 | |
| 284 | def test_repr(self): |
| 285 | random_state, _ = self._create_state() |
nothing calls this directly
no test coverage detected