[pypy-commit] pypy py3.3: Skip a test in test_re

amauryfa noreply at buildbot.pypy.org
Sun May 11 00:27:27 CEST 2014


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3.3
Changeset: r71442:22619b806fa7
Date: 2014-05-01 09:57 +0200
http://bitbucket.org/pypy/pypy/changeset/22619b806fa7/

Log:	Skip a test in test_re

diff --git a/lib-python/3/test/test_re.py b/lib-python/3/test/test_re.py
--- a/lib-python/3/test/test_re.py
+++ b/lib-python/3/test/test_re.py
@@ -1,5 +1,5 @@
 from test.support import verbose, run_unittest, gc_collect, bigmemtest, _2G, \
-        cpython_only, captured_stdout
+        impl_detail, captured_stdout
 import io
 import re
 from re import Scanner
@@ -19,6 +19,7 @@
 
 class ReTests(unittest.TestCase):
 
+    @impl_detail("pypy buffers can be resized", pypy=False)
     def test_keep_buffer(self):
         # See bug 14212
         b = bytearray(b'x')
@@ -1018,7 +1019,6 @@
         self.assertRaises(OverflowError, re.compile, r".{%d,}?" % 2**128)
         self.assertRaises(OverflowError, re.compile, r".{%d,%d}" % (2**129, 2**128))
 
-    @cpython_only
     def test_repeat_minmax_overflow_maxrepeat(self):
         try:
             from _sre import MAXREPEAT


More information about the pypy-commit mailing list