[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
test_specialtypes
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
50.5109328552
----------
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>
<http://bugs.python.org/issue3098>
_______________________________________
More information about the Python-bugs-list
mailing list