From 5094193f9ab4c751a439b4c2de4763f65b17e3f1 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Sat, 21 Aug 2021 16:59:02 -0700 Subject: [PATCH] formatting --- .../pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py b/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py index 9b10ab355..8767ad12c 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py +++ b/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py @@ -186,7 +186,6 @@ def _generate_randomized_scenarios(): the slot transitions are offset by -1 to target certain boundaries. """ rng = Random(1336) - leak_transitions = (_no_op_transition, _transition_to_leaking) # go forward 0 or 1 epochs epochs_set = (_epoch_transition(n=0), _epoch_transition(n=1)) @@ -209,6 +208,7 @@ def _generate_randomized_scenarios(): # and preface each block transition with the possible leak transitions # (... either no leak or transition to a leak before applying the block transition) + leak_transitions = (_no_op_transition, _transition_to_leaking) scenarios = [ {"transitions": list(t)} for t in itertools.product(leak_transitions, block_transitions)