Commits

Armin Rigo committed 44c90c1

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

Comments (0)

Files changed (1)

testing/test_integration.py

 
 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')