Fix test_ast_parsing

pull/785/head
Josselin 4 years ago
parent 13e6939a93
commit ba7babc15c
  1. 2
      tests/test_ast_parsing.py

@ -411,7 +411,7 @@ def get_solc_versions() -> List[str]:
get a list of all the supported versions of solidity, sorted from earliest to latest get a list of all the supported versions of solidity, sorted from earliest to latest
:return: ascending list of versions, for example ["0.4.0", "0.4.1", ...] :return: ascending list of versions, for example ["0.4.0", "0.4.1", ...]
""" """
result = subprocess.run(["solc", "--versions"], stdout=subprocess.PIPE, check=True) result = subprocess.run(["solc-select", "versions"], stdout=subprocess.PIPE, check=True)
solc_versions = result.stdout.decode("utf-8").split("\n") solc_versions = result.stdout.decode("utf-8").split("\n")
# there's an extra newline so just remove all empty strings # there's an extra newline so just remove all empty strings

Loading…
Cancel
Save