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"])