Skip to content

Commit 21d4b2e

Browse files
committed
WIP
1 parent 7c9d681 commit 21d4b2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/core/contracts/test_contract_ambiguous_functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
)
1010

1111
from web3.exceptions import (
12+
Web3TypeError,
1213
Web3ValueError,
1314
)
1415

@@ -204,5 +205,5 @@ def test_fn_can_be_called_without_parens_if_no_args_kwargs(string_contract):
204205

205206
def test_fn_can_not_be_called_without_parens_if_args(string_contract):
206207
set_value_func = string_contract.get_function_by_signature("setValue(string)")
207-
with pytest.raises(TypeError, match="Incorrect argument count"):
208+
with pytest.raises(Web3TypeError, match="Incorrect argument count"):
208209
set_value_func.call()

0 commit comments

Comments
 (0)