This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author freakboy
Recipients
Date 2006-07-12.08:47:04
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
DocTestRunner can be modified by end users to override
default testing behaviour when executing doctests. 

Similarly, DocTestCase can be extended to override
default setup/teardown behaviour. 

However, when a DocTestSuite is used to discover
doctests, it is not possible to specify a user-modified
Runner or TestCase.

This patch (against svn revision 46884 of
Lib/doctest.py) enables end users to specify the class
that is used to construct DocTest test cases, and the
runner that is used to run DocTest test cases. 

By default, DocTestSuite will continue to instantiate
DocTestRunner and DocTestCase instances as before. 
History
Date User Action Args
2007-08-23 15:53:30adminlinkissue1521051 messages
2007-08-23 15:53:30admincreate