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 rhettinger
Recipients jelie, pitrou, r.david.murray, rhettinger
Date 2010-11-03.02:13:19
SpamBayes Score 0.0001424628
Marked as misclassified No
Message-id <1288750401.58.0.504832024196.issue10281@psf.upfronthosting.co.za>
In-reply-to
Content
Besides being shorter, the advantages of assertLE are consistent with the rich comparison method names, no worries about Than, no camel casing ambiguities, no pluralization or other nmemonic issues (LessThanEqual or LessThanEquals or LessThanOrEqual or LessThanOrEqualTo).  The goal is to make sure you don't have to look up the spelling every time you use them.  

That being said, assertEqual can't change.  It has been around forever and is clear about what it does.

What I am sure about is that assertLess and assertLessEqual are very non-standard spellings and that infrequent users of comparison assertions won't remember them.
History
Date User Action Args
2010-11-03 02:30:10rhettingerunlinkissue10281 messages
2010-11-03 02:13:21rhettingersetrecipients: + rhettinger, pitrou, r.david.murray, jelie
2010-11-03 02:13:21rhettingersetmessageid: <1288750401.58.0.504832024196.issue10281@psf.upfronthosting.co.za>
2010-11-03 02:13:20rhettingerlinkissue10281 messages
2010-11-03 02:13:19rhettingercreate