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

SourceForge.net noreply at sourceforge.net
Mon Feb 19 13:42:09 CET 2007


Patches item #1663234, was opened at 2007-02-19 09:33
Message generated for change (Comment added) made by scoder
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: Stefan Behnel (scoder)
Date: 2007-02-19 13:42

Message:
Logged In: YES 
user_id=313935
Originator: YES

fair enough
File Added: libdoctest.tex-run-module.patch

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

Comment By: Georg Brandl (gbrandl)
Date: 2007-02-19 13: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