Skip to content

Commit b677afb

Browse files
committed
chore(ruff): changes to tests/homestead/.
1 parent 3529348 commit b677afb

File tree

5 files changed

+7
-19
lines changed

5 files changed

+7
-19
lines changed

tests/homestead/__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 Homestead.
3-
"""
1+
"""Test cases for EVM functionality introduced in Homestead."""
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
"""
2-
Tests that fill coverage gaps when porting over from `ethereum/tests`.
3-
"""
1+
"""Tests that fill coverage gaps when porting over from `ethereum/tests`."""

tests/homestead/coverage/test_coverage.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
"""
2-
Tests that address coverage gaps that result from updating `ethereum/tests` into EEST tests.
3-
"""
1+
"""Tests that address coverage gaps that result from updating `ethereum/tests` into EEST tests."""
42

53
import pytest
64

@@ -19,7 +17,7 @@ def test_coverage(
1917
fork: Fork,
2018
):
2119
"""
22-
This test covers gaps that result from transforming Yul code into
20+
Cover gaps that result from transforming Yul code into
2321
`ethereum_test_tools.vm.opcode.Opcodes` bytecode.
2422
2523
E.g. Yul tends to optimize stack items by using `SWAP1` and `DUP1` opcodes, which are not

tests/homestead/yul/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
"""
2-
Tests using Yul source for contracts.
3-
"""
1+
"""Tests using Yul source for contracts."""

tests/homestead/yul/test_yul_example.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
"""
2-
Test Yul Source Code Examples
3-
"""
1+
"""Test Yul Source Code Examples."""
42

53
import pytest
64

@@ -17,9 +15,7 @@
1715

1816
@pytest.mark.valid_from("Homestead")
1917
def test_yul(state_test: StateTestFiller, pre: Alloc, yul: YulCompiler, fork: Fork):
20-
"""
21-
Test YUL compiled bytecode.
22-
"""
18+
"""Test YUL compiled bytecode."""
2319
env = Environment()
2420

2521
contract_address = pre.deploy_contract(

0 commit comments

Comments
 (0)