By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,550 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,550 IT Pros & Developers. It's quick & easy.

trace module and doctest

P: n/a
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 - sk**@pobox.com - http://www.webfast.com/~skip/
Nov 21 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
sk**@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
Nov 22 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.