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 eric.araujo
Recipients drakeol, eric.araujo, gennad, nessita, python-dev, r.david.murray, trentm, vinay.sajip, vstinner
Date 2011-06-04.14:51:40
SpamBayes Score 6.613292e-05
Marked as misclassified No
Message-id <1307199101.6.0.0527641607173.issue11557@psf.upfronthosting.co.za>
In-reply-to
Content
I saw this commit pass by and noticed a few instances of non-idiomatic unittest code, like unnecessary lambdas or overuse of assertEqual where other methods would give more useful messages in case of failure.  Here’s a patch to better it.
History
Date User Action Args
2011-06-04 14:51:41eric.araujosetrecipients: + eric.araujo, vinay.sajip, vstinner, trentm, r.david.murray, nessita, drakeol, python-dev, gennad
2011-06-04 14:51:41eric.araujosetmessageid: <1307199101.6.0.0527641607173.issue11557@psf.upfronthosting.co.za>
2011-06-04 14:51:41eric.araujolinkissue11557 messages
2011-06-04 14:51:40eric.araujocreate