We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21d4b2e commit aaa9f50Copy full SHA for aaa9f50
tests/core/contracts/test_contract_ambiguous_functions.py
@@ -9,7 +9,7 @@
9
)
10
11
from web3.exceptions import (
12
- Web3TypeError,
+ MismatchedABI,
13
Web3ValueError,
14
15
@@ -205,5 +205,8 @@ def test_fn_can_be_called_without_parens_if_no_args_kwargs(string_contract):
205
206
def test_fn_can_not_be_called_without_parens_if_args(string_contract):
207
set_value_func = string_contract.get_function_by_signature("setValue(string)")
208
- with pytest.raises(Web3TypeError, match="Incorrect argument count"):
+ with pytest.raises(
209
210
+ match="Could not identify the intended function with name `setValue`",
211
+ ):
212
set_value_func.call()
0 commit comments