diff --git a/tests/functional/builtins/codegen/test_extract32.py b/tests/functional/builtins/codegen/test_extract32.py index d5e9db0a6e..96280ce862 100644 --- a/tests/functional/builtins/codegen/test_extract32.py +++ b/tests/functional/builtins/codegen/test_extract32.py @@ -11,8 +11,10 @@ def test_extract32_extraction(tx_failed, get_contract_with_gas_estimation, locat ) if location == "storage": decl = "y: Bytes[100]" - else: + elif location == "transient": decl = "y: transient(Bytes[100])" + else: + raise Exception("unreachable") extract32_code = f""" {decl} @external