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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15629>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to