##// END OF EJS Templates
tests: delete some not PYTHON3 blocks...
Gregory Szorc -
r49719:a2f0af52 default
parent child Browse files
Show More
@@ -3610,14 +3610,6 b' class TestRunner(object):'
3610 f.write(b'%s "$@"\n' % esc_executable)
3610 f.write(b'%s "$@"\n' % esc_executable)
3611
3611
3612 if WINDOWS:
3612 if WINDOWS:
3613 if not PYTHON3:
3614 # lets try to build a valid python3 executable for the
3615 # scrip that requires it.
3616 py3exe_name = os.path.join(self._custom_bin_dir, b'python3')
3617 with open(py3exe_name, 'wb') as f:
3618 f.write(b'#!/bin/sh\n')
3619 f.write(b'py -3 "$@"\n')
3620
3621 # adjust the path to make sur the main python finds it own dll
3613 # adjust the path to make sur the main python finds it own dll
3622 path = os.environ['PATH'].split(os.pathsep)
3614 path = os.environ['PATH'].split(os.pathsep)
3623 main_exec_dir = os.path.dirname(sysexecutable)
3615 main_exec_dir = os.path.dirname(sysexecutable)
@@ -3630,8 +3622,6 b' class TestRunner(object):'
3630 if appdata is not None:
3622 if appdata is not None:
3631 python_dir = 'Python%d%d' % (vi[0], vi[1])
3623 python_dir = 'Python%d%d' % (vi[0], vi[1])
3632 scripts_path = [appdata, 'Python', python_dir, 'Scripts']
3624 scripts_path = [appdata, 'Python', python_dir, 'Scripts']
3633 if not PYTHON3:
3634 scripts_path = [appdata, 'Python', 'Scripts']
3635 scripts_dir = os.path.join(*scripts_path)
3625 scripts_dir = os.path.join(*scripts_path)
3636 extra_paths.append(scripts_dir)
3626 extra_paths.append(scripts_dir)
3637
3627
General Comments 0
You need to be logged in to leave comments. Login now