Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r57110:9bc40cc81bd9
Date: 2012-09-02 22:08 +0200
http://bitbucket.org/pypy/pypy/changeset/9bc40cc81bd9/

Log:    "pytest -A" also checks the PYTHON3 environment variable to find a
        python3 interpreter.

diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -10,7 +10,7 @@
 from pypy.tool.autopath import pypydir
 from pypy.tool import leakfinder, runsubprocess
 
-PYTHON3 = py.path.local.sysfind('python3')
+PYTHON3 = os.getenv('PYTHON3') or py.path.local.sysfind('python3')
 if PYTHON3 is not None:
     PYTHON3 = str(PYTHON3)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to