Skip to content

Commit 87ae33a

Browse files
committed
move other tests to json_infra
1 parent f94aff1 commit 87ae33a

File tree

8 files changed

+9
-6
lines changed

8 files changed

+9
-6
lines changed
File renamed without changes.

tests/test_rlp.py renamed to tests/json_infra/test_rlp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from ethereum.frontier.fork_types import Bytes, Uint
99
from ethereum.utils.hexadecimal import hex_to_bytes
1010

11-
from .json_infra import TEST_FIXTURES
11+
from . import TEST_FIXTURES
1212

1313
ETHEREUM_TESTS_PATH = TEST_FIXTURES["ethereum_tests"]["fixture_path"]
1414

File renamed without changes.
File renamed without changes.

tox.ini

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ commands =
2929
--cov-report "xml:{toxworkdir}/coverage.xml" \
3030
--no-cov-on-fail \
3131
--cov-branch \
32-
--ignore-glob='tests/fixtures/*' \
32+
--ignore-glob='tests/json_infra/fixtures/*' \
3333
--basetemp="{temp_dir}/pytest" \
34-
tests
34+
tests/json_infra
3535

3636
[testenv:py3]
3737
extras =
@@ -87,11 +87,10 @@ commands =
8787
pytest \
8888
-m "not slow and not evm_tools" \
8989
-n auto --maxprocesses 5 \
90-
--ignore-glob='tests/fixtures/*' \
91-
--ignore-glob='tests/test_t8n.py' \
90+
--ignore-glob='tests/json_infra/fixtures/*' \
9291
--basetemp="{temp_dir}/pytest" \
9392
--optimized \
94-
tests
93+
tests/json_infra
9594

9695
[testenv:doc]
9796
basepython = python3

vulture_whitelist.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from ethereum.cancun.blocks import Withdrawal
22
from ethereum.ethash import *
33
from ethereum.fork_criteria import Unscheduled
4+
from ethereum.utils.hexadecimal import hex_to_bytes256
45
from ethereum_optimized.state_db import State
56
from ethereum_spec_tools.docc import *
67
from ethereum_spec_tools.evm_tools.daemon import _EvmToolHandler
@@ -17,6 +18,9 @@
1718
from ethereum_spec_tools.lint.lints.import_hygiene import ImportHygiene
1819
from ethereum.trace import EvmTracer
1920

21+
# src/ethereum/utils/hexadecimal.py
22+
hex_to_bytes256
23+
2024
# src/ethereum/cancun/blocks.py
2125
Withdrawal.validator_index
2226

0 commit comments

Comments
 (0)