tests/hghave.py
branchstable
changeset 49603 cafe34655335
parent 49584 8cd39c20445e
child 49604 3bbf1ad850f0
equal deleted inserted replaced
49602:f4a363b25859 49603:cafe34655335
   893 @check("py3exe", "a Python 3.x interpreter is available")
   893 @check("py3exe", "a Python 3.x interpreter is available")
   894 def has_python3exe():
   894 def has_python3exe():
   895     py = 'python3'
   895     py = 'python3'
   896     if os.name == 'nt':
   896     if os.name == 'nt':
   897         py = 'py -3'
   897         py = 'py -3'
   898     return matchoutput('%s -V' % py, br'^Python 3.(5|6|7|8|9)')
   898     return matchoutput('%s -V' % py, br'^Python 3.(5|6|7|8|9|10|11)')
   899 
   899 
   900 
   900 
   901 @check("pure", "running with pure Python code")
   901 @check("pure", "running with pure Python code")
   902 def has_pure():
   902 def has_pure():
   903     return any(
   903     return any(