From 33c06cbf8f09ad199a5577da0fc10e2c77858a8b Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Tue, 24 Dec 2024 18:38:14 -0500 Subject: [PATCH] properly pass thru optimize flag --- tests/functional/venom/test_venom_repr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/venom/test_venom_repr.py b/tests/functional/venom/test_venom_repr.py index 975968001f..5136672a03 100644 --- a/tests/functional/venom/test_venom_repr.py +++ b/tests/functional/venom/test_venom_repr.py @@ -107,7 +107,7 @@ def _helper2(vyper_source, optimize, compiler_settings): assert_ctx_eq(bb_runtime, ctx) # test we can generate assembly+bytecode - asm = generate_assembly_experimental(ctx) + asm = generate_assembly_experimental(ctx, optimize=optimize) bytecode = generate_bytecode(asm, compiler_metadata=None) out = compile_code(vyper_source, settings=settings, output_formats=["bytecode_runtime"])