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 away. -- Benji York Senior Software Engineer Zope Corporation _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )