diff --git a/tests/core/contracts/test_concise_contract.py b/tests/core/contracts/test_concise_contract.py index 74cbf5dbaf..7120026c07 100644 --- a/tests/core/contracts/test_concise_contract.py +++ b/tests/core/contracts/test_concise_contract.py @@ -1,4 +1,5 @@ import pytest +from unittest.mock import Mock from eth_utils import ( decode_hex, @@ -10,8 +11,6 @@ ConciseMethod, ) -from unittest.mock import Mock - @pytest.fixture() def EMPTY_ADDR(): diff --git a/tests/core/eth-module/test_accounts.py b/tests/core/eth-module/test_accounts.py index 282d191c65..32e78c7f03 100644 --- a/tests/core/eth-module/test_accounts.py +++ b/tests/core/eth-module/test_accounts.py @@ -152,7 +152,8 @@ def test_eth_account_recover_message(acct): b'\x0cu0\x84\xe5\xa8)\x02\x192L\x1a:\x86\xd4\x06M\xed-\x15\x97\x9b\x1e\xa7\x90sJ\xaa,\xea\xaf\xc1"\x9c\xa4S\x81\x06\x81\x9f\xd3\xa5P\x9d\xd3\x83\xe8\xfeKs\x1chp3\x95V\xa5\xc0o\xeb\x9c\xf30\xbb\x00', # noqa: E501 # test signature bytes with chain-naive v (27 in this case) b'\x0cu0\x84\xe5\xa8)\x02\x192L\x1a:\x86\xd4\x06M\xed-\x15\x97\x9b\x1e\xa7\x90sJ\xaa,\xea\xaf\xc1"\x9c\xa4S\x81\x06\x81\x9f\xd3\xa5P\x9d\xd3\x83\xe8\xfeKs\x1chp3\x95V\xa5\xc0o\xeb\x9c\xf30\xbb\x1b', # noqa: E501 - ] + ], + ids=['test_sig_bytes_standard_v', 'test_sig_bytes_chain_naive_v'] ) def test_eth_account_recover_signature_bytes(acct, signature_bytes): msg_hash = b'\xbb\r\x8a\xba\x9f\xf7\xa1