changeset 53199:e314705edcd2

hghave: fix py3exe feature above Python 3.11 The match was silly.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 18 Apr 2025 04:49:11 +0200
parents 8c8d41e2f004
children cde146f7379a
files tests/hghave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave.py	Thu Apr 17 10:18:11 2025 +0200
+++ b/tests/hghave.py	Fri Apr 18 04:49:11 2025 +0200
@@ -909,7 +909,7 @@
     py = 'python3'
     if os.name == 'nt':
         py = 'py -3'
-    return matchoutput('%s -V' % py, br'^Python 3.(6|7|8|9|10|11)')
+    return matchoutput('%s -V' % py, br'^Python 3.(6|7|8|9|1\d)')
 
 
 @check("pure", "running with pure Python code")