From ba7babc15cbe117201ea2b0406d4921696d088db Mon Sep 17 00:00:00 2001 From: Josselin Date: Sun, 14 Feb 2021 18:50:20 +0100 Subject: [PATCH] Fix test_ast_parsing --- tests/test_ast_parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ast_parsing.py b/tests/test_ast_parsing.py index c37700324..33eabad5a 100644 --- a/tests/test_ast_parsing.py +++ b/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 :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") # there's an extra newline so just remove all empty strings