Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Dec 24, 2024
1 parent 907af7d commit 105654c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/functional/venom/test_venom_repr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand All @@ -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)

Expand All @@ -58,6 +61,8 @@ def _round_trip_helper(vyper_source, optimize):
assert_ctx_eq(bb_runtime, ctx)

Check notice

Code scanning / CodeQL

Unused local variable Note test

Variable bytecode is not used.

# 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)
Expand Down

0 comments on commit 105654c

Please sign in to comment.