Skip to content

Commit

Permalink
Permit multi-character segments in Python versions, in a test
Browse files Browse the repository at this point in the history
This is necessary since Python 3.10 has two digits in the minor version.
  • Loading branch information
pradyunsg committed Jul 23, 2021
1 parent 5bccf10 commit 20d85c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/test_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_correct_pip_version(script):
# distribution
pip_folder_outputed = re.match(
r"pip \d+(\.[\d]+)+(\.?(b|rc|dev|pre|post)\d+)? from (.*) "
r"\(python \d(.[\d])+\)$",
r"\(python \d(.[\d]+)+\)$",
result.stdout,
).group(4)
pip_folder = join(SRC_DIR, "src", "pip")
Expand Down

0 comments on commit 20d85c7

Please sign in to comment.