[pypy-svn] r43290 - pypy/branch/pypy-string-formatting/objspace/std/test
arigo at codespeak.net
arigo at codespeak.net
Sat May 12 13:59:57 CEST 2007
Author: arigo
Date: Sat May 12 13:59:56 2007
New Revision: 43290
Modified:
pypy/branch/pypy-string-formatting/objspace/std/test/test_stringformat.py
Log:
This annoying test passes now on top of CPython, although it instantly
consumes and releases 2GB of RAM.
Modified: pypy/branch/pypy-string-formatting/objspace/std/test/test_stringformat.py
==============================================================================
--- pypy/branch/pypy-string-formatting/objspace/std/test/test_stringformat.py (original)
+++ pypy/branch/pypy-string-formatting/objspace/std/test/test_stringformat.py Sat May 12 13:59:56 2007
@@ -201,9 +201,9 @@
assert u"%.1d" % 3 == '3'
def test_unicode_overflow(self):
- skip("do something about it or just ignore it")
+ skip("nicely passes on top of CPython but requires > 2GB of RAM")
import sys
- raises(OverflowError, 'u"%.*d" % (sys.maxint, 1)')
+ raises((OverflowError, MemoryError), 'u"%.*d" % (sys.maxint, 1)')
def test_unicode_format_a(self):
assert u'%x' % 10L == 'a'
More information about the pypy-svn
mailing list