Show More
@@ -3466,6 +3466,16 b' class TestRunner(object):' | |||
|
3466 | 3466 | if err.errno != errno.EEXIST: |
|
3467 | 3467 | raise |
|
3468 | 3468 | else: |
|
3469 | # Windows doesn't have `python3.exe`, and MSYS cannot understand the | |
|
3470 | # reparse point with that name provided by Microsoft. Copy the | |
|
3471 | # current interpreter to PATH with that name so the shebang lines | |
|
3472 | # work. | |
|
3473 | if os.getenv('MSYSTEM'): | |
|
3474 | shutil.copy( | |
|
3475 | sys.executable, | |
|
3476 | _bytes2sys(self._tmpbindir + b'/python3.exe'), | |
|
3477 | ) | |
|
3478 | ||
|
3469 | 3479 | exedir, exename = os.path.split(sysexecutable) |
|
3470 | 3480 | vlog( |
|
3471 | 3481 | "# Modifying search path to find %s as %s in '%s'" |
General Comments 0
You need to be logged in to leave comments.
Login now