tests: remove sys.executable from "required tools"
authorAugie Fackler <raf@durin42.com>
Sun, 28 May 2017 21:33:33 -0400
changeset 32711 04c19c808241
parent 32710 326c0e2c1a1d
child 32712 43bda143e3b2
tests: remove sys.executable from "required tools" In practice this doesn't appear to have been true for some time - we reference Python using the $PYTHON variable in all the tests now (which we have to for PyPy and Python 3), and I've been using ~/.../python.exe to test with tip of the cpython 3.6 release branch while working on manifest tests in Python 3 and everything seems to be just fine. The only real observable difference from this change is that I stop getting a warning about python.exe not being a thing on $PATH, which seems like an improvement.
tests/run-tests.py
--- a/tests/run-tests.py	Mon Jun 05 16:24:01 2017 +0100
+++ b/tests/run-tests.py	Sun May 28 21:33:33 2017 -0400
@@ -2097,7 +2097,6 @@
 
     # Programs required to run tests.
     REQUIREDTOOLS = [
-        os.path.basename(_bytespath(sys.executable)),
         b'diff',
         b'grep',
         b'unzip',