Skip to content

Commit acf1394

Browse files
committed
Minor change
1 parent 87f06a6 commit acf1394

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

conftest.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,7 @@ def _get_rng_state():
4646
def _set_rng_state(state):
4747
"""
4848
Store existing RNG state and set RNG state
49-
50-
If no state is provided, a hardcoded, safe state will be used
5149
"""
52-
if state is None:
53-
state = pytest.SEED_ZERO.copy()
54-
5550
pytest.LAST_RNG_STATE = pytest.RNG.bit_generator.state.copy()
5651
pytest.RNG.bit_generator.state = state
5752

0 commit comments

Comments
 (0)