##// END OF EJS Templates
tests: simplify Windows and PYTHON3 conditionals...
Gregory Szorc -
r49720:7caa967b default
parent child Browse files
Show More
@@ -3562,10 +3562,8 b' class TestRunner(object):'
3562 def _usecorrectpython(self):
3562 def _usecorrectpython(self):
3563 """Configure the environment to use the appropriate Python in tests."""
3563 """Configure the environment to use the appropriate Python in tests."""
3564 # Tests must use the same interpreter as us or bad things will happen.
3564 # Tests must use the same interpreter as us or bad things will happen.
3565 if WINDOWS and PYTHON3:
3565 if WINDOWS:
3566 pyexe_names = [b'python', b'python3', b'python.exe']
3566 pyexe_names = [b'python', b'python3', b'python.exe']
3567 elif WINDOWS:
3568 pyexe_names = [b'python', b'python.exe']
3569 else:
3567 else:
3570 pyexe_names = [b'python', b'python3']
3568 pyexe_names = [b'python', b'python3']
3571
3569
General Comments 0
You need to be logged in to leave comments. Login now