[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-bugs-list
Subject:    [issue7818] Improve set().test_c_api(): don't expect a set("abc"),
From:       STINNER Victor <report () bugs ! python ! org>
Date:       2010-01-31 3:12:22
Message-ID: 1264907542.03.0.152611089844.issue7818 () psf ! upfronthosting ! co ! za
[Download RAW message or body]


New submission from STINNER Victor <victor.stinner@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@bugs.python.org>
<http://bugs.python.org/issue7818>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-bugs-list%40marc.info



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic