[TIP] nose with doctests and logging

John Evans john at milo.com
Mon Feb 1 13:32:43 PST 2010


Hi,

I am trying set the log level for my unit tests to CRITICAL which makes my
tests run much faster.  This works fine if I don't enable doc tests via the
--with-doctests command line argument.  However, if I do enable doc tests it
seems to ignore the logging configuration.  I looked through the source of
the doc test plugin and I didn't see any obvious reason why this would
be occurring.  Has anyone gotten this working or can anyone point me in the
right direction for what I should be looking for in the source?

Thanks,
-
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20100201/de3d0978/attachment.htm>


More information about the testing-in-python mailing list