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 30359f822..9bc0f4841 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 @@ -287,7 +287,7 @@ def test_some_exited_full_random_leaking(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) + assert not any(get_exited_validators(spec, state)) # advance the state to effect the exits target_epoch = max(state.validators[index].exit_epoch for index in exited_indices)