Fix exception message.

pull/3223/head
derekpierre 2023-10-27 08:19:12 -04:00 committed by KPrasch
parent 27c9306f0e
commit 417758dd16
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ def _is_tuple_type(abi_type: str):
def _get_tuple_type_entries(tuple_type: str) -> List[str]:
if not _is_tuple_type(tuple_type):
raise ValueError(
f"Invalid type provided '{tuple_type}; not a tuple type definition"
f"Invalid type provided '{tuple_type}'; not a tuple type definition"
)
result = tuple_type.replace("(", "").replace(")", "")
result = result.split(",")