Show More
@@ -26,6 +26,7 b' tests/.hypothesis' | |||||
26 | tests/hypothesis-generated |
|
26 | tests/hypothesis-generated | |
27 | tests/annotated |
|
27 | tests/annotated | |
28 | tests/exceptions |
|
28 | tests/exceptions | |
|
29 | tests/python3 | |||
29 | tests/*.err |
|
30 | tests/*.err | |
30 | tests/htmlcov |
|
31 | tests/htmlcov | |
31 | build |
|
32 | build |
@@ -3470,14 +3470,13 b' class TestRunner(object):' | |||||
3470 | raise |
|
3470 | raise | |
3471 | else: |
|
3471 | else: | |
3472 | # Windows doesn't have `python3.exe`, and MSYS cannot understand the |
|
3472 | # Windows doesn't have `python3.exe`, and MSYS cannot understand the | |
3473 |
# reparse point with that name provided by Microsoft. C |
|
3473 | # reparse point with that name provided by Microsoft. Create a | |
3474 |
# |
|
3474 | # simple script on PATH with that name that delegates to the py3 | |
3475 | # work. |
|
3475 | # launcher so the shebang lines work. | |
3476 | if os.getenv('MSYSTEM'): |
|
3476 | if os.getenv('MSYSTEM'): | |
3477 | shutil.copy( |
|
3477 | with open(osenvironb[b'RUNTESTDIR'] + b'/python3', 'wb') as f: | |
3478 | sys.executable, |
|
3478 | f.write(b'#!/bin/sh\n') | |
3479 | _bytes2sys(self._tmpbindir + b'/python3.exe'), |
|
3479 | f.write(b'py -3 "$@"\n') | |
3480 | ) |
|
|||
3481 |
|
3480 | |||
3482 | exedir, exename = os.path.split(sysexecutable) |
|
3481 | exedir, exename = os.path.split(sysexecutable) | |
3483 | vlog( |
|
3482 | vlog( |
General Comments 0
You need to be logged in to leave comments.
Login now