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 serhiy.storchaka
Recipients ezio.melotti, michael.foord, pitrou, serhiy.storchaka
Date 2012-11-19.10:43:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353321858.76.0.504726837876.issue16510@psf.upfronthosting.co.za>
In-reply-to
Content
The proposed patch upgrades tests to use specialized checks added in 3.1 and 3.2 (assertIsNone(x) instead assertTrue(x is None), assertLess(a, b) instead assertTrue(a < b), etc).  This modern checks provide a more useful error message in case of a fail.

Replaced only those checks that are not related to the tested operators.  For example, assertTrue(a < b) preserved if the operator "<" is tested.
History
Date User Action Args
2012-11-19 10:44:20serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, ezio.melotti, michael.foord
2012-11-19 10:44:18serhiy.storchakasetmessageid: <1353321858.76.0.504726837876.issue16510@psf.upfronthosting.co.za>
2012-11-19 10:44:18serhiy.storchakalinkissue16510 messages
2012-11-19 10:44:17serhiy.storchakacreate