On Mon, Aug 9, 2010 at 12:00 AM, Tres Seaver <tsea...@palladion.com> wrote:
> Hanno Schlichting wrote:
>> Log message for revision 115555:
>>   Replaced failUnless with assertTrue and failIf with assertFalse in tests.
>
> Hmm, I don't like the way 'asseertTrue' and 'assertFalse' read -- is
> there a particular rationale for this change beyond personal taste?

The fail* methods are deprecated in Python 2.7's unittest module.
Following the "there should only be one way" rule, I guess.

More details at
http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations

Hanno
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to