trace module and doctest

skip at pobox.com skip at pobox.com
Tue Nov 20 17:51:42 EST 2007


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 at pobox.com - http://www.webfast.com/~skip/



More information about the Python-list mailing list