I should have mentioned I tried the --nologcapture and -s options to no avail. I just tried <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">--logging-filter=CRITICAL and also had no luck.</span><br>
<br><div>-</div><div>John</div><div><br><div class="gmail_quote">On Mon, Feb 1, 2010 at 2:16 PM, Kumar McMillan <span dir="ltr"><<a href="mailto:kumar.mcmillan@gmail.com">kumar.mcmillan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Mon, Feb 1, 2010 at 3:32 PM, John Evans <<a href="mailto:john@milo.com">john@milo.com</a>> wrote:<br>
> Hi,<br>
> I am trying set the log level for my unit tests to CRITICAL which makes my<br>
> tests run much faster. This works fine if I don't enable doc tests via the<br>
> --with-doctests command line argument. However, if I do enable doc tests it<br>
> seems to ignore the logging configuration. I looked through the source of<br>
> the doc test plugin and I didn't see any obvious reason why this would<br>
> be occurring. Has anyone gotten this working or can anyone point me in the<br>
> right direction for what I should be looking for in the source?<br>
<br>
</div></div>Hmm, I'm actually not sure how logging capture works in Nose when used<br>
on doctests. However, you could try setting --logging-filter=CRITICAL<br>
or lower to see if that helps. More info (perhaps) :<br>
<a href="http://somethingaboutorange.com/mrl/projects/nose/0.11.1/plugins/logcapture.html" target="_blank">http://somethingaboutorange.com/mrl/projects/nose/0.11.1/plugins/logcapture.html</a><br>
<br>
Or you could try --nologcapture to see if that does what you want.<br>
<br>
> Thanks,<br>
> -<br>
> John<br>
> _______________________________________________<br>
> testing-in-python mailing list<br>
> <a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br>
> <a href="http://lists.idyll.org/listinfo/testing-in-python" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a><br>
><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>John Evans<br>Founder and CTO<br><br>Milo.com, Inc.<br>165 University Avenue<br>Palo Alto, CA 94301<br><a href="http://milo.com">http://milo.com</a><br><br>Cell: (703) 509-3931<br>
Email/G-talk: <a href="mailto:john@milo.com">john@milo.com</a><br>
</div>