This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajrasky
Recipients ezio.melotti, michael.foord, pitrou, serhiy.storchaka, vajrasky
Date 2013-05-31.10:40:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369996851.34.0.356138234706.issue18106@psf.upfronthosting.co.za>
In-reply-to
Content
According to R. David Murray in Python core-mentorship mailing list addressing me:

"It could be that the bug is that the i is not used...it may have been
intended to be used in an extended error message in the asserts, so that
it would be clear which input failed.  In any case, I think the best
fix here would probably be to use the new subtests support in unittest."

So I used subTest feature in the second patch I upload according to his advice.

What do you think? subTest can recognize where the test fails immediately as well. You just have to count the line in the loop.
History
Date User Action Args
2013-05-31 10:40:51vajraskysetrecipients: + vajrasky, pitrou, ezio.melotti, michael.foord, serhiy.storchaka
2013-05-31 10:40:51vajraskysetmessageid: <1369996851.34.0.356138234706.issue18106@psf.upfronthosting.co.za>
2013-05-31 10:40:51vajraskylinkissue18106 messages
2013-05-31 10:40:50vajraskycreate