id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 6024,Django's doctest clashes with coverage.py,marcink,nobody,"When you use coverage.py in ""manage.py test"" it incorrectly reports some statements as not executed. This is a known issue with coverage.py. From http://nedbatchelder.com/code/modules/coverage.html : ""Older versions of doctest interfere with coverage's tracing of statements, and you may get reports that none of your code is executing. Use [http://svn.zope.org/Zope3/trunk/src/zope/testing/doctest.py?rev=28679&r1=28703&r2=28705 this patch] to doctest.py if you are experiencing problems."" I checked, the patch from Zope does help. The attached file contains the patch as applied to django.test._doctest.",,closed,Testing framework,dev,,fixed,,,Ready for checkin,1,0,0,0,0,0