Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r965:44c90c1a48be
Date: 2012-09-22 13:40 +0200
http://bitbucket.org/cffi/cffi/changeset/44c90c1a48be/

Log:    Use the "-p" option to ask "with the same version of Python".

diff --git a/testing/test_integration.py b/testing/test_integration.py
--- a/testing/test_integration.py
+++ b/testing/test_integration.py
@@ -11,7 +11,7 @@
 
 def create_venv():
     tmpdir = tempfile.mkdtemp()
-    subprocess.call(['virtualenv', tmpdir])
+    subprocess.call(['virtualenv', '-p', sys.executable, tmpdir])
     return py.path.local(tmpdir)
 
 SNIPPET_DIR = py.path.local(__file__).join('..', 'snippets')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to