[New-bugs-announce] [issue3098] sys.sizeof test fails with wide unicode

Benjamin Peterson report at bugs.python.org
Fri Jun 13 00:13:17 CEST 2008

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

test test_sys failed -- Traceback (most recent call last):
  File "/temp/python/trunk/Lib/test/test_sys.py", line 549, in
    size2=basicsize + sys.getsizeof(str(s)))
  File "/temp/python/trunk/Lib/test/test_sys.py", line 429, in check_sizeof
    self.assertEqual(result, size2, msg + str(size2))
AssertionError: wrong size for <type 'unicode'>: got 28, expected

assignee: schuppenies
components: Interpreter Core
messages: 68102
nosy: benjamin.peterson, schuppenies
priority: critical
severity: normal
status: open
title: sys.sizeof test fails with wide unicode
type: behavior
versions: Python 2.6, Python 3.0

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list