Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r58864:1a29f25b710c
Date: 2012-11-12 21:22 +0100
http://bitbucket.org/pypy/pypy/changeset/1a29f25b710c/
Log: Skip another implementation detail.
diff --git a/lib-python/3.2/test/test_array.py
b/lib-python/3.2/test/test_array.py
--- a/lib-python/3.2/test/test_array.py
+++ b/lib-python/3.2/test/test_array.py
@@ -939,6 +939,10 @@
# Resizing is forbidden when there are buffer exports.
# For issue 4509, we also check after each error that
# the array was not modified.
+ if support.check_impl_detail(pypy=True):
+ # PyPy export buffers differently, and allows reallocation
+ # of the underlying object.
+ return
self.assertRaises(BufferError, a.append, a[0])
self.assertEqual(m.tobytes(), expected)
self.assertRaises(BufferError, a.extend, a[0:1])
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit