Mercurial > hg-stable
changeset 49603:cafe34655335 stable
hghave: detect Python 3.10 and 3.11 as well
Noticed because test-contrib-relnotes.t was skipped.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 11 Dec 2022 16:44:50 +0400 |
parents | f4a363b25859 |
children | 3bbf1ad850f0 |
files | tests/hghave.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/hghave.py Mon Dec 05 16:05:04 2022 -0500 +++ b/tests/hghave.py Sun Dec 11 16:44:50 2022 +0400 @@ -895,7 +895,7 @@ py = 'python3' if os.name == 'nt': py = 'py -3' - return matchoutput('%s -V' % py, br'^Python 3.(5|6|7|8|9)') + return matchoutput('%s -V' % py, br'^Python 3.(5|6|7|8|9|10|11)') @check("pure", "running with pure Python code")