[Patches] [ python-Patches-1663234 ] enable "python -m doctest FILE" to run tests in FILE

SourceForge.net noreply at sourceforge.net
Mon Feb 19 13:08:05 CET 2007


Patches item #1663234, was opened at 2007-02-19 08:33
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1663234&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stefan Behnel (scoder)
Assigned to: Nobody/Anonymous (nobody)
Summary: enable "python -m doctest FILE" to run tests in FILE

Initial Comment:
This is a small patch that lets doctest.py support being called via "python -m" in a more useful way. Currently, it only runs a selftest. With the patch applied, you can pass one or more filenames, which will let it process these instead.

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

>Comment By: Georg Brandl (gbrandl)
Date: 2007-02-19 12:08

Message:
Logged In: YES 
user_id=849994
Originator: NO

Looks good and useful to me. A documentation patch would be needed though.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1663234&group_id=5470


More information about the Patches mailing list