[issue9443] Use newer unittest methods throughout tests

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Thank you for giving this explanation. I’ll remember it. -- stage: needs patch -> committed/rejected ___ Python tracker ___ ___

[issue9443] Use newer unittest methods throughout tests

2010-07-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: I recommend against this. Our existing test suites are already passing, so there is a near zero value add (from supposedly more informative failures); however, there is a risk that a test will be changed in a subtle way, invalidating what the original aut

[issue9443] Use newer unittest methods throughout tests

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Tests -None ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue9443] Use newer unittest methods throughout tests

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy nosy: +ezio.melotti, michael.foord stage: -> needs patch ___ Python tracker ___ ___ Python

[issue9443] Use newer unittest methods throughout tests

2010-07-31 Thread Éric Araujo
New submission from Éric Araujo : unittest provides new methods like assertIn and assertLess that provide more useful error messages in case of failure. Some names like assertEquals are also deprecated. The test suite should be updated to benefit from the new goodness and stop using obsolete n