Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1106:3643242e05cd
Date: 2013-01-01 10:34 +0100
http://bitbucket.org/cffi/cffi/changeset/3643242e05cd/
Log: Skip test_zintegration if we can't find 'virtualenv'.
diff --git a/testing/test_zintegration.py b/testing/test_zintegration.py
--- a/testing/test_zintegration.py
+++ b/testing/test_zintegration.py
@@ -5,7 +5,11 @@
def create_venv(name):
tmpdir = udir.join(name)
- subprocess.check_call(['virtualenv', '-p', sys.executable, str(tmpdir)])
+ try:
+ subprocess.check_call(['virtualenv', '-p', sys.executable,
+ str(tmpdir)])
+ except OSError, e:
+ py.test.skip("Cannot execute virtualenv: %s" % (e,))
site_packages = None
for dirpath, dirnames, filenames in os.walk(str(tmpdir)):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit