diff --git a/tests/prague/eip7002_el_triggerable_withdrawals/test_withdrawal_requests.py b/tests/prague/eip7002_el_triggerable_withdrawals/test_withdrawal_requests.py index 46f0d79938..ce3c535a58 100644 --- a/tests/prague/eip7002_el_triggerable_withdrawals/test_withdrawal_requests.py +++ b/tests/prague/eip7002_el_triggerable_withdrawals/test_withdrawal_requests.py @@ -719,7 +719,7 @@ def test_withdrawal_requests_negative( *block_body_override_requests, max_request_type=fork.max_request_type(block_number=1, timestamp=1), ).requests_list - if block_body_override_requests + if block_body_override_requests is not None else None ), exception=exception, diff --git a/tests/prague/eip7251_consolidations/test_consolidations.py b/tests/prague/eip7251_consolidations/test_consolidations.py index f530416662..ca2d18f87a 100644 --- a/tests/prague/eip7251_consolidations/test_consolidations.py +++ b/tests/prague/eip7251_consolidations/test_consolidations.py @@ -770,7 +770,7 @@ def test_consolidation_requests_negative( *block_body_override_requests, max_request_type=fork.max_request_type(block_number=1, timestamp=1), ).requests_list - if block_body_override_requests + if block_body_override_requests is not None else None ), exception=exception,