trace module and doctest

S

skip

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,
 
J

John J. Lee

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/svn/trunk/nose/plugins/doctests.py

http://svn.zope.org/Zope3/trunk/src/zope/testing/doctest.py?rev=28679&r1=28703&r2=28705


John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top