[New-bugs-announce] [issue3601] test_unicode.test_raiseMemError fails in UCS4

Benjamin Peterson report at bugs.python.org
Tue Aug 19 17:42:05 CEST 2008


New submission from Benjamin Peterson <musiccomposition at gmail.com>:

======================================================================
ERROR: test_raiseMemError (test.test_unicode.UnicodeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/temp/python/trunk/Lib/test/test_unicode.py", line 1122, in
test_raiseMemError
    self.assertRaises(MemoryError, alloc)
  File "/temp/python/trunk/Lib/unittest.py", line 336, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/temp/python/trunk/Lib/test/test_unicode.py", line 1121, in <lambda>
    alloc = lambda: u"a" * (sys.maxsize - 100)
OverflowError: repeated string is too long

----------------------------------------------------------------------

----------
assignee: pitrou
messages: 71429
nosy: benjamin.peterson, pitrou
priority: critical
severity: normal
status: open
title: test_unicode.test_raiseMemError fails in UCS4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3601>
_______________________________________


More information about the New-bugs-announce mailing list