[pypy-svn] r73496 - pypy/branch/cpython-extension/pypy/module/cpyext/test

xoraxax at codespeak.net xoraxax at codespeak.net
Wed Apr 7 04:05:24 CEST 2010


Author: xoraxax
Date: Wed Apr  7 04:05:22 2010
New Revision: 73496

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/test/test_typeobject.py
Log:
Failing skipped sre test.

Modified: pypy/branch/cpython-extension/pypy/module/cpyext/test/test_typeobject.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/test/test_typeobject.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/test/test_typeobject.py	Wed Apr  7 04:05:22 2010
@@ -90,10 +90,15 @@
         assert sre_compile.MAGIC == module.MAGIC
         import re
         import time
-        s = u"Foo " * 1000 + u"Bar"
-        prog = re.compile(ur"Foo.*Bar")
-        assert prog.match(s)
-        m = re.search(u"xyz", u"xyzxyz")
-        assert m
-        re._cache.clear()
-        re._cache_repl.clear()
+        try:
+            s = u"Foo " * 1000 + u"Bar"
+            prog = re.compile(ur"Foo.*Bar")
+            assert prog.match(s)
+            m = re.search(u"xyz", u"xyzxyz")
+            assert m
+            skip("Crashing in fijals code")
+            m = re.search("xyz", "xyzxyz")
+            assert m
+        finally:
+            re._cache.clear()
+            re._cache_repl.clear()



More information about the Pypy-commit mailing list