Testing for pip version didn't cater for beta releases

This commit is contained in:
Paul Moore 2018-03-31 13:02:05 +01:00
parent 0a8a215e13
commit 1bdbd6ccea
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def test_correct_pip_version(script):
# compare the directory tree of the invoked pip with that of this source
# distribution
pip_folder_outputed = re.match(
r'pip \d+(\.[\d]+)+(\.?(rc|dev|pre|post)\d+)? from (.*) '
r'pip \d+(\.[\d]+)+(\.?(b|rc|dev|pre|post)\d+)? from (.*) '
r'\(python \d(.[\d])+\)$',
result.stdout
).group(4)