Ben Finney wrote: > [snip..] > > Remove redundant names > ---------------------- > > The following attribute names exist only as synonyms for other names. > They are to be removed, leaving only one name for each attribute in > the API. > > ``TestCase`` attributes > ~~~~~~~~~~~~~~~~~~~~~~~ > > * ``assertEqual`` > * ``assertEquals`` > * ``assertNotEqual`` > * ``assertNotEquals`` > * ``assertAlmostEqual`` > * ``assertAlmostEquals`` > * ``assertNotAlmostEqual`` > * ``assertNotAlmostEquals`` > * ``assertRaises`` > * ``assert_`` > * ``assertTrue`` > * ``assertFalse`` > > Although you may prefer the 'failIf' and 'failUnless' names, the consensus in the *last* discussion was that the 'assert*' names were to be preferred. I protest the removal of the assert names - and in the absence of likely consensus (and barring a dictat of course) I suggest this part of the proposal be excised. Michael -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/ http://www.trypython.org/ http://www.ironpython.info/ http://www.theotherdelia.co.uk/ http://www.resolverhacks.net/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4