Submitter | phabricator |
---|---|
Date | March 2, 2022, 12:43 a.m. |
Message ID | <differential-rev-PHID-DREV-373ebfz5w4fcvodyt3gf-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50583/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -3562,10 +3562,8 @@ def _usecorrectpython(self): """Configure the environment to use the appropriate Python in tests.""" # Tests must use the same interpreter as us or bad things will happen. - if WINDOWS and PYTHON3: + if WINDOWS: pyexe_names = [b'python', b'python3', b'python.exe'] - elif WINDOWS: - pyexe_names = [b'python', b'python.exe'] else: pyexe_names = [b'python', b'python3']