From 105654c23d94af48447b26302dcca571e2951ef0 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Tue, 24 Dec 2024 09:55:39 -0500 Subject: [PATCH] comments --- tests/functional/venom/test_venom_repr.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/functional/venom/test_venom_repr.py b/tests/functional/venom/test_venom_repr.py index e37c9d3eaf..24e96e798e 100644 --- a/tests/functional/venom/test_venom_repr.py +++ b/tests/functional/venom/test_venom_repr.py @@ -19,7 +19,7 @@ def get_example_vy_filenames(): @pytest.mark.parametrize("vy_filename", get_example_vy_filenames()) -def test_round_trip_example(vy_filename, optimize): +def test_round_trip_examples(vy_filename, optimize): """ Check all examples round trip """ @@ -43,7 +43,10 @@ def _loop() -> uint256: @pytest.mark.parametrize("vyper_source", vyper_sources) -def test_round_trip_source(vyper_source, optimize): +def test_round_trip_sources(vyper_source, optimize): + """ + Test vyper_sources round trip + """ vyper_source = textwrap.dedent(vyper_source) _round_trip_helper(vyper_source, optimize) @@ -58,6 +61,8 @@ def _round_trip_helper(vyper_source, optimize): assert_ctx_eq(bb_runtime, ctx) # check it's valid to run venom passes+analyses + # (note this breaks bytecode equality, in the future we should + # test that separately) run_passes_on(ctx, optimize) asm = generate_assembly_experimental(ctx)