提交 4a7b345c 编写于 作者: H Hugo 提交者: Xavier Fernandez

Consistently get version string, ignoring alpha/beta

上级 d8c992ac
......@@ -1306,7 +1306,7 @@ def test_double_install_fail(script):
def _get_expected_error_text():
return (
"Package 'pkga' requires a different Python: {} not in '<1.0'"
).format(sys.version.split()[0])
).format('.'.join(map(str, sys.version_info[:3])))
def test_install_incompatible_python_requires(script):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册