explicitly disable object-in-buffer tests in PyPy
authorStefan Behnel <stefan_ml@behnel.de>
Fri, 12 Apr 2013 08:42:23 +0000 (10:42 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Fri, 12 Apr 2013 08:42:23 +0000 (10:42 +0200)
tests/buffers/bufaccess.pyx

index 3418804..c804e1b 100644 (file)
@@ -19,6 +19,11 @@ import sys
 #import re
 exclude = []#re.compile('object').search]
 
+if getattr(sys, 'pypy_version_info', None) is not None:
+    # disable object-in-buffer tests in PyPy
+    import re
+    exclude.append(re.compile('object').search)
+
 def testcase(func):
     for e in exclude:
         if e(func.__name__):