On Mon, Dec 8, 2008 at 12:26 PM, Tres Seaver <[EMAIL PROTECTED]> wrote:
> A better fix would be to strip outthe 'assert' keyword everywhere, and
> use 'self.failUnless' / 'self.failIf' instead:  that would allow getting
> rid of the "backsplash", as well.

Yep.  Another reason not to use "assert" in tests is that if the tests
are run with Python's -O or -OO switches, the asserts will be optimized
Benji York
Senior Software Engineer
Zope Corporation
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to