tests/run-tests.py
changeset 47179 6f976d54946c
parent 47040 c853bc60c5d6
child 47233 bcafcd779d2e
--- a/tests/run-tests.py	Fri May 14 10:01:29 2021 +0000
+++ b/tests/run-tests.py	Sat May 08 00:21:31 2021 -0400
@@ -3537,7 +3537,7 @@
             if os.getenv('MSYSTEM'):
                 with open(osenvironb[b'RUNTESTDIR'] + b'/python3', 'wb') as f:
                     f.write(b'#!/bin/sh\n')
-                    f.write(b'py -3 "$@"\n')
+                    f.write(b'py -3.%d "$@"\n' % sys.version_info[1])
 
             exedir, exename = os.path.split(sysexecutable)
             vlog(