[issue7818] Improve set().test_c_api(): don't expect a set("abc"), modify the content

STINNER Victor report at bugs.python.org
Sun Jan 31 04:12:22 CET 2010


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

test_c_api() method of a set() (only defined in pydebug mode) suppose that the set content is "abc". It causes assertion error if the method is called in a set different than set("abc").

My patch modifies the set content at the beginning of the test.

----------
files: set_test_c_api.patch
keywords: patch
messages: 98596
nosy: haypo
severity: normal
status: open
title: Improve set().test_c_api(): don't expect a set("abc"), modify the content
Added file: http://bugs.python.org/file16064/set_test_c_api.patch

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


More information about the Python-bugs-list mailing list