Skip to content

Commit

Permalink
fix(tests): Fix override requests comparison for empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz committed Oct 14, 2024
1 parent f8e1ebb commit f49210a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/prague/eip7251_consolidations/test_consolidations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f49210a

Please sign in to comment.