On Sep 5, 2006, at 1:10 PM, Fred Drake wrote:

On 9/5/06, Gustavo Niemeyer <[EMAIL PROTECTED]> wrote:
runner (is anyone else using it?).

We're certainly using the zope.testing framework for internal
projects; I expect a number of projects would be affected.

In thinking about this, it's not at all clear to me that this is the
"right" thing to do.  When checking logging output, what's really
being checked is that a usable log entry is being made at the right
level.  If what you want is to test an exception, that seems to be a
distinct test (IMO, of course).

I agree. zope.testing.loggingsupport is for testing logging, not for logging while testing. :)

Jim

--
Jim Fulton                      mailto:[EMAIL PROTECTED]                Python 
Powered!
CTO                             (540) 361-1714                  
http://www.python.org
Zope Corporation        http://www.zope.com             http://www.zope.org



_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to