Patches item #1521051, was opened at 2006-07-12 16:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1521051&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Russell Keith-Magee (freakboy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Extra configurability for doctest TestCases

Initial Comment:
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. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1521051&group_id=5470
_______________________________________________
Patches mailing list
Patches@python.org
http://mail.python.org/mailman/listinfo/patches

Reply via email to