diff --git a/tests/functional/builtins/codegen/test_abi_decode.py b/tests/functional/builtins/codegen/test_abi_decode.py index 1cefd49ee2c..2a494957f31 100644 --- a/tests/functional/builtins/codegen/test_abi_decode.py +++ b/tests/functional/builtins/codegen/test_abi_decode.py @@ -67,10 +67,10 @@ def abi_decode_struct(x: Bytes[544]) -> Human: args = tuple([human_tuple[0]] + list(human_tuple[1])) human_t = "((string,(string,address,int128,bool,fixed168x10,uint256[3],bytes32)))" human_encoded = abi.encode(human_t, (human_tuple,)) - assert tuple(c.abi_decode_struct(human_encoded)) == ( + assert tuple(c.abi_decode_struct(human_encoded)) == [ "foobar", ("vyper", TEST_ADDR, 123, True, Decimal("123.4"), [123, 456, 789], test_bytes32), - ) + ] @pytest.mark.parametrize( diff --git a/tests/functional/builtins/codegen/test_create_functions.py b/tests/functional/builtins/codegen/test_create_functions.py index 43274d80388..e924c2cccf8 100644 --- a/tests/functional/builtins/codegen/test_create_functions.py +++ b/tests/functional/builtins/codegen/test_create_functions.py @@ -354,7 +354,9 @@ def should_fail(target: address, arg1: String[129], arg2: Bar): self.created_address = create_from_blueprint(target, arg1, arg2) """ FOO = "hello!" - BAR = ("world!",) + BAR = [ + "world!", + ] # deploy a foo so we can compare its bytecode with factory deployed version foo_contract = get_contract(code, FOO, BAR)