We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87f06a6 commit acf1394Copy full SHA for acf1394
conftest.py
@@ -46,12 +46,7 @@ def _get_rng_state():
46
def _set_rng_state(state):
47
"""
48
Store existing RNG state and set RNG state
49
-
50
- If no state is provided, a hardcoded, safe state will be used
51
52
- if state is None:
53
- state = pytest.SEED_ZERO.copy()
54
55
pytest.LAST_RNG_STATE = pytest.RNG.bit_generator.state.copy()
56
pytest.RNG.bit_generator.state = state
57
0 commit comments