[docs] [issue15629] Run doctests in Doc/*.rst as part of regrtest

Chris Jerdonek report at bugs.python.org
Sun Aug 12 16:04:02 CEST 2012


Chris Jerdonek added the comment:
One option for whitelisting files would be to subclass doctest.DocTestParser and pass an instance as the parser argument to doctest.DocFileSuite:
http://docs.python.org/dev/library/doctest.html#doctest.DocFileSuite
The custom parser could look for the per-file marker before falling back to the usual parsing logic. This would give us the functionality we need without having to make changes to doctest.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15629>
_______________________________________


More information about the docs mailing list

AltStyle によって変換されたページ (->オリジナル) /