Re: Test fixture concepts (was: Zope test layers, pytest, and test isolation)

Benji York <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Sun, Mar 27, 2011 at 10:54 AM, Uli Fouquet <[email protected]> wrote:
> - `assert` works like you would expect it to work in tests. No need
>  to use `self.assertEqual()`` and friends (but you can if you prefer).

How do they deal with the fact that assert statements are dropped when
Python is run with -O?
-- 
Benji York
_______________________________________________
Zope-Dev maillist  -  [email protected]
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.