diff --git a/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_rewards_and_penalties.py b/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_rewards_and_penalties.py index 10772ca82..ee1a751d2 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_rewards_and_penalties.py +++ b/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_rewards_and_penalties.py @@ -215,7 +215,8 @@ def test_almost_empty_attestations_with_leak(spec, state): @spec_state_test def test_random_fill_attestations(spec, state): rng = Random(4567) - yield from run_with_participation(spec, state, lambda slot, comm_index, comm: rng.sample(sorted(comm), len(comm) // 3)) + yield from run_with_participation(spec, state, + lambda slot, comm_index, comm: rng.sample(sorted(comm), len(comm) // 3)) @with_all_phases @@ -223,14 +224,16 @@ def test_random_fill_attestations(spec, state): @leaking() def test_random_fill_attestations_with_leak(spec, state): rng = Random(4567) - yield from run_with_participation(spec, state, lambda slot, comm_index, comm: rng.sample(sorted(comm), len(comm) // 3)) + yield from run_with_participation(spec, state, + lambda slot, comm_index, comm: rng.sample(sorted(comm), len(comm) // 3)) @with_all_phases @spec_state_test def test_almost_full_attestations(spec, state): rng = Random(8901) - yield from run_with_participation(spec, state, lambda slot, comm_index, comm: rng.sample(sorted(comm), len(comm) - 1)) + yield from run_with_participation(spec, state, + lambda slot, comm_index, comm: rng.sample(sorted(comm), len(comm) - 1)) @with_all_phases @@ -238,7 +241,8 @@ def test_almost_full_attestations(spec, state): @leaking() def test_almost_full_attestations_with_leak(spec, state): rng = Random(8901) - yield from run_with_participation(spec, state, lambda slot, comm_index, comm: rng.sample(sorted(comm), len(comm) - 1)) + yield from run_with_participation(spec, state, + lambda slot, comm_index, comm: rng.sample(sorted(comm), len(comm) - 1)) @with_all_phases