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 7c9d681 commit 21d4b2eCopy full SHA for 21d4b2e
tests/core/contracts/test_contract_ambiguous_functions.py
@@ -9,6 +9,7 @@
9
)
10
11
from web3.exceptions import (
12
+ Web3TypeError,
13
Web3ValueError,
14
15
@@ -204,5 +205,5 @@ def test_fn_can_be_called_without_parens_if_no_args_kwargs(string_contract):
204
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)")
- with pytest.raises(TypeError, match="Incorrect argument count"):
208
+ with pytest.raises(Web3TypeError, match="Incorrect argument count"):
209
set_value_func.call()
0 commit comments