Skip to content

Commit

Permalink
fix: remove pprint
Browse files Browse the repository at this point in the history
  • Loading branch information
z80dev committed Oct 24, 2023
1 parent 13d94c9 commit fe56b93
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/test_compiler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import re
import pprint

import pytest
from ape.exceptions import ContractLogicError
Expand Down Expand Up @@ -81,9 +80,7 @@ def test_get_version_map(project, compiler, all_versions):
x for x in project.contracts_folder.iterdir() if x.is_file() and x.suffix == ".vy"
]
actual = compiler.get_version_map(vyper_files)
pprint.pprint(actual)
expected_versions = [Version(v) for v in all_versions]
pprint.pprint(expected_versions)

for version, sources in actual.items():
if version in expected_versions:
Expand All @@ -103,8 +100,8 @@ def test_get_version_map(project, compiler, all_versions):
"use_iface.vy",
"optimize_codesize.vy",
"use_iface2.vy",
"contract_no_pragma.vy", # no pragma should compile with latest version
"empty.vy", # empty file still compiles with latest version
"contract_no_pragma.vy", # no pragma should compile with latest version
"empty.vy", # empty file still compiles with latest version
]

# Add the 0.3.10 contracts.
Expand Down

0 comments on commit fe56b93

Please sign in to comment.