![]() |
trace module and doctest
I am trying to use the trace module with the --count flag to test for
statement coverage in my doctests. The trace coverage listing is very weird, marking many statements as unexecuted which were clearly executed during the run (I can see their output on the screen). Is this some known interaction between the trace and doctest modules? Thanks, -- Skip Montanaro - skip@pobox.com - http://www.webfast.com/~skip/ |
Re: trace module and doctest
skip@pobox.com writes:
> I am trying to use the trace module with the --count flag to test for > statement coverage in my doctests. The trace coverage listing is very > weird, marking many statements as unexecuted which were clearly executed > during the run (I can see their output on the screen). Is this some known > interaction between the trace and doctest modules? Yes: http://python-nose.googlecode.com/sv...ns/doctests.py http://svn.zope.org/Zope3/trunk/src/...28703&r2=28705 John |
| All times are GMT. The time now is 05:47 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.