Skip to content

Commit c808a8d

Browse files
committed
chore(ruff): changes to tests/berlin/.
1 parent 9cc1445 commit c808a8d

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

tests/berlin/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
"""
2-
Test cases for EVM functionality introduced in Berlin.
3-
"""
1+
"""Test cases for EVM functionality introduced in Berlin."""

tests/berlin/eip2930_access_list/test_acl.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
"""
2-
Test ACL Transaction Source Code Examples
3-
"""
1+
"""Test ACL Transaction Source Code Examples."""
42

53
import pytest
64

7-
from ethereum_test_tools import AccessList, Account, Alloc, Environment
5+
from ethereum_test_tools import (
6+
AccessList,
7+
Account,
8+
Alloc,
9+
Environment,
10+
StateTestFiller,
11+
Transaction,
12+
)
813
from ethereum_test_tools import Opcodes as Op
9-
from ethereum_test_tools import StateTestFiller, Transaction
1014

1115
REFERENCE_SPEC_GIT_PATH = "EIPS/eip-2930.md"
1216
REFERENCE_SPEC_VERSION = "c9db53a936c5c9cbe2db32ba0d1b86c4c6e73534"
1317

1418

1519
@pytest.mark.valid_from("Berlin")
1620
def test_access_list(state_test: StateTestFiller, pre: Alloc):
17-
"""
18-
Test type 1 transaction.
19-
"""
21+
"""Test type 1 transaction."""
2022
env = Environment()
2123

2224
contract_address = pre.deploy_contract(

0 commit comments

Comments
 (0)