From 6f56e33f00647bfc75cc752a1d62d8bee4b295af Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Thu, 5 Aug 2021 16:54:22 -0700 Subject: [PATCH] Update tests/core/pyspec/eth2spec/test/altair/epoch_processing/test_process_inactivity_updates.py Co-authored-by: Danny Ryan --- .../altair/epoch_processing/test_process_inactivity_updates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/pyspec/eth2spec/test/altair/epoch_processing/test_process_inactivity_updates.py b/tests/core/pyspec/eth2spec/test/altair/epoch_processing/test_process_inactivity_updates.py index 5a334f28a..30359f822 100644 --- a/tests/core/pyspec/eth2spec/test/altair/epoch_processing/test_process_inactivity_updates.py +++ b/tests/core/pyspec/eth2spec/test/altair/epoch_processing/test_process_inactivity_updates.py @@ -285,7 +285,7 @@ def test_some_exited_full_random_leaking(spec, state): # mutations applied to their inactivity scores randomize_inactivity_scores(spec, state, rng=rng) - assert not get_exited_validators(spec, state) + assert not any(get_exited_validators(spec, state)) exited_indices = exit_validators(spec, state, exit_count, rng=rng) assert not get_exited_validators(spec, state)