Return a RandomState instance. This function exists solely to assist (un)pickling. Note that the state of the RandomState returned here is irrelevant, as this function's entire purpose is to return a newly allocated RandomState whose state pickle can set. Consequently the RandomSt
()
| 195 | |
| 196 | |
| 197 | def __RandomState_ctor(): |
| 198 | """Return a RandomState instance. |
| 199 | |
| 200 | This function exists solely to assist (un)pickling. |
| 201 | |
| 202 | Note that the state of the RandomState returned here is irrelevant, as this |
| 203 | function's entire purpose is to return a newly allocated RandomState whose |
| 204 | state pickle can set. Consequently the RandomState returned by this function |
| 205 | is a freshly allocated copy with a seed=0. |
| 206 | |
| 207 | See https://github.com/numpy/numpy/issues/4763 for a detailed discussion |
| 208 | |
| 209 | """ |
| 210 | return RandomState(seed=0) |
| 211 | |
| 212 | |
| 213 | from numpy._pytesttester import PytestTester |
nothing calls this directly
no outgoing calls
no test coverage detected