# HG changeset patch # User Anton Shestakov # Date 1670762690 -14400 # Node ID cafe34655335171f311758b44f6e1d5efc52c0c6 # Parent f4a363b25859589f4aeab628060e5b888feadb70 hghave: detect Python 3.10 and 3.11 as well Noticed because test-contrib-relnotes.t was skipped. diff -r f4a363b25859 -r cafe34655335 tests/hghave.py --- 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")