(self)
| 264 | assert_mt19937_state_equal(pickled, unpickled) |
| 265 | |
| 266 | def test_state_setting(self): |
| 267 | attr_state = self.random_state.__getstate__() |
| 268 | self.random_state.standard_normal() |
| 269 | self.random_state.__setstate__(attr_state) |
| 270 | state = self.random_state.get_state(legacy=False) |
| 271 | assert_mt19937_state_equal(attr_state, state) |
| 272 | |
| 273 | def test_repr(self): |
| 274 | assert repr(self.random_state).startswith('RandomState(MT19937)') |
nothing calls this directly
no test coverage detected