##// END OF EJS Templates
run-tests: unroll a non-so-one-liner...
marmoute -
r48288:81d70de3 default
parent child Browse files
Show More
@@ -3534,10 +3534,9 b' class TestRunner(object):'
3534 # os.symlink() is a thing with py3 on Windows, but it requires
3534 # os.symlink() is a thing with py3 on Windows, but it requires
3535 # Administrator rights.
3535 # Administrator rights.
3536 if getattr(os, 'symlink', None) and os.name != 'nt':
3536 if getattr(os, 'symlink', None) and os.name != 'nt':
3537 vlog(
3537 msg = "# Making python executable in test path a symlink to '%s'"
3538 "# Making python executable in test path a symlink to '%s'"
3538 msg %= sysexecutable
3539 % sysexecutable
3539 vlog(msg)
3540 )
3541 mypython = os.path.join(self._tmpbindir, pyexename)
3540 mypython = os.path.join(self._tmpbindir, pyexename)
3542 try:
3541 try:
3543 if os.readlink(mypython) == sysexecutable:
3542 if os.readlink(mypython) == sysexecutable:
General Comments 0
You need to be logged in to leave comments. Login now