Commits

Maciej Fijalkowski committed 0607d99

use virtualenv as an executable

  • Participants
  • Parent commits 05842a2

Comments (0)

Files changed (1)

testing/test_integration.py

         return lambda *args: None
 
 def create_venv():
-    import virtualenv
     tmpdir = tempfile.mkdtemp()
-    virtualenv.logger = DummyLogger()
-    virtualenv.create_environment(tmpdir, site_packages=False)
+    subprocess.call(['virtualenv', tmpdir])
     return py.path.local(tmpdir)
 
 SNIPPET_DIR = py.path.local(__file__).join('..', 'snippets')