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 brett.cannon, ezio.melotti, michael.foord, pitrou, r.david.murray, rhettinger
Date 2010-11-03.02:29:49
SpamBayes Score 0.0001424628
Marked as misclassified No
Message-id <1288751393.48.0.255134010366.issue10273@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:29:53rhettingersetrecipients: + rhettinger, brett.cannon, pitrou, ezio.melotti, r.david.murray, michael.foord
2010-11-03 02:29:53rhettingersetmessageid: <1288751393.48.0.255134010366.issue10273@psf.upfronthosting.co.za>
2010-11-03 02:29:49rhettingerlinkissue10273 messages
2010-11-03 02:29:49rhettingercreate