From 513f57f74c923d7300fe06a879d56a8340be6d6f Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Sun, 22 Aug 2021 09:55:41 -0700 Subject: [PATCH] formatting --- .../eth2spec/test/phase0/sanity/test_blocks_random.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 05ae545b8..cead514a5 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 @@ -233,7 +233,10 @@ def _generate_randomized_scenarios(): rng = Random(1336) # go forward 0 or 1 epochs - epochs_set = (_epoch_transition(n=0), _epoch_transition(n=1)) + epochs_set = ( + _epoch_transition(n=0), + _epoch_transition(n=1), + ) # within those epochs, go forward to: slots_set = ( # the first slot in an epoch (see note in docstring about offsets...) @@ -253,7 +256,10 @@ 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) + leak_transitions = ( + _no_op_transition, + _transition_to_leaking, + ) scenarios = [ {"transitions": list(t)} for t in itertools.product(leak_transitions, block_transitions)