def test_version_without_hash(): version_string = 'solc, the solidity compiler commandline interface\nVersion: 0.1.1/Release-Darwin/clang/JIT\n' version = version_regex.search(version_string).groups()[0] assert version == '0.1.1'
def test_version_without_hash(): version_string = 'solc, the solidity compiler commandline interface\nVersion: 0.1.1/Release-Darwin/clang/JIT\n' version = version_regex.search(version_string).groups()[0] assert version == '0.1.1'