﻿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
11436	_doctest.py needs updating	Karen Tracey	nobody	"I just tried annotating a doctest in a models.py file with the +SKIP directive and was puzzled to find that that resulted in all doctests in that file being ignored.  Apparently the doctest runner bails (silently?) on any directives it doesn't understand, and as the _doctest.py used by Django is from Python 2.4 and +SKIP was added for 2.5, Django's doctest runner doesn't understand +SKIP.  

I think we need to look into updating _doctest.py to include support for options/directives like this that have been added since 2.4.  If I'm running Python 2.5 or 2.6 I expect to have access to the things added for those releases -- I haven't been able to find that we even document that Django uses it's own customized doctest runner? (It might be somewhat confusing for people running older levels if they happen to notice they can use newer options, but that doesn't really strike me as a problem.)

(Better would be to be able to use the Python doctest, if running a high enough Python level, but that level doesn't appear to exist yet.  Python issue 1521051 (http://bugs.python.org/issue1521051) has not made it into the code base yet, it's sitting in ""test needed"" stage.)"	Bug	closed	Testing framework	1.0	Normal	fixed			Accepted	0	0	0	0	0	0
