projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0edf9e4
)
explicitly disable object-in-buffer tests in PyPy
author
Stefan Behnel
<stefan_ml@behnel.de>
Fri, 12 Apr 2013 08:42:23 +0000
(10:42 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Fri, 12 Apr 2013 08:42:23 +0000
(10:42 +0200)
tests/buffers/bufaccess.pyx
patch
|
blob
|
history
diff --git
a/tests/buffers/bufaccess.pyx
b/tests/buffers/bufaccess.pyx
index
3418804
..
c804e1b
100644
(file)
--- a/
tests/buffers/bufaccess.pyx
+++ b/
tests/buffers/bufaccess.pyx
@@
-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__):