summaryrefslogtreecommitdiff
path: root/testing/cffi0
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2016-02-13 16:32:06 +0100
committerArmin Rigo <arigo@tunes.org>2016-02-13 16:32:06 +0100
commit35453bbeb40f95a59b3cad5dd9c349470ffc9ff4 (patch)
tree1b56781cbec27cdbb329895baab618a99d6903a4 /testing/cffi0
parentd2bbeaeae80e85855b5d5584c558a448686e2fe3 (diff)
downloadcffi-35453bbeb40f95a59b3cad5dd9c349470ffc9ff4.tar.gz
Fix for Python 2.6
Diffstat (limited to 'testing/cffi0')
-rw-r--r--testing/cffi0/test_zintegration.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/cffi0/test_zintegration.py b/testing/cffi0/test_zintegration.py
index 55d5d39..41d33f0 100644
--- a/testing/cffi0/test_zintegration.py
+++ b/testing/cffi0/test_zintegration.py
@@ -4,6 +4,9 @@ from testing.udir import udir
if sys.platform == 'win32':
py.test.skip('snippets do not run on win32')
+if sys.version_info < (2, 7):
+ py.test.skip('fails e.g. on a Debian/Ubuntu which patches virtualenv'
+ ' in a non-2.6-friendly way')
def create_venv(name):
tmpdir = udir.join(name)