Skip to content

Commit cdb8402

Browse files
committed
chore: fix lint.
1 parent 75cddf3 commit cdb8402

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/ethereum_clis/clis/nethermind.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,9 @@ def consume_state_test(
199199
]
200200
assert len(test_result) < 2, f"Multiple test results for {fixture_name}"
201201
assert len(test_result) == 1, f"Test result for {fixture_name} missing"
202-
assert test_result[0][
203-
"pass"
204-
], f"State test '{fixture_name}' failed, available stderr:\n {stderr}"
202+
assert test_result[0]["pass"], (
203+
f"State test '{fixture_name}' failed, available stderr:\n {stderr}"
204+
)
205205
else:
206206
if any(not test_result["pass"] for test_result in file_results):
207207
exception_text = "State test failed: \n" + "\n".join(
@@ -276,9 +276,9 @@ def consume_eof_test(self, command, fixture_path, fixture_name, debug_output_pat
276276
available_stderr = f"Available stderr:\n{stderr}"
277277
else:
278278
available_stderr = "(No output available.)"
279-
assert file_results[
280-
modified_fixture_name
281-
], f"EOF test '{fixture_name}' failed. {available_stderr}"
279+
assert file_results[modified_fixture_name], (
280+
f"EOF test '{fixture_name}' failed. {available_stderr}"
281+
)
282282

283283
def consume_fixture(
284284
self,

tests/osaka/eip7825_transaction_gas_limit_cap/test_transaction_gas_limit_cap.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ def test_transaction_gas_limit_cap_at_transition(
151151
post_cap_tx_error = TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM
152152

153153
assert post_cap is not None, "Post cap should not be None"
154-
assert (
155-
post_cap <= pre_cap
156-
), "Post cap should be less than or equal to pre cap, test needs update"
154+
assert post_cap <= pre_cap, (
155+
"Post cap should be less than or equal to pre cap, test needs update"
156+
)
157157

158158
# Transaction with gas limit at the cap
159159
cap_gas_tx = Transaction(

0 commit comments

Comments
 (0)