diff --git a/test_libs/pyspec/tests/test_finality.py b/test_libs/pyspec/tests/test_finality.py index e97ce7e40..16bf24a4e 100644 --- a/test_libs/pyspec/tests/test_finality.py +++ b/test_libs/pyspec/tests/test_finality.py @@ -93,7 +93,7 @@ def test_finality_rule_4(state): assert state.finalized_epoch == prev_state.current_justified_epoch assert state.finalized_root == prev_state.current_justified_root - yield 'blocks', [blocks], [spec.BeaconBlock] + yield 'blocks', blocks, [spec.BeaconBlock] yield 'post', state @@ -120,7 +120,7 @@ def test_finality_rule_1(state): assert state.finalized_epoch == prev_state.previous_justified_epoch assert state.finalized_root == prev_state.previous_justified_root - yield 'blocks', [blocks], [spec.BeaconBlock] + yield 'blocks', blocks, [spec.BeaconBlock] yield 'post', state @@ -149,7 +149,7 @@ def test_finality_rule_2(state): blocks += new_blocks - yield 'blocks', [blocks], [spec.BeaconBlock] + yield 'blocks', blocks, [spec.BeaconBlock] yield 'post', state @@ -195,5 +195,5 @@ def test_finality_rule_3(state): assert state.finalized_epoch == prev_state.current_justified_epoch assert state.finalized_root == prev_state.current_justified_root - yield 'blocks', [blocks], [spec.BeaconBlock] + yield 'blocks', blocks, [spec.BeaconBlock] yield 'post', state