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.

classification
Title: makes doctest.testmod() to work
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: loewis Nosy List: david_abrahams, loewis, tim.peters
Priority: normal Keywords: patch

Created on 2001-11-28 12:04 by david_abrahams, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch.txt david_abrahams, 2001-11-28 12:04 the patch
Messages (7)
msg38235 - (view) Author: David Abrahams (david_abrahams) Date: 2001-11-28 12:04
testmod() can now be called with no arguments, in 
which case it works on the current module. This is a 
big convenience for self-testing modules.

msg38236 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2001-11-28 17:34
Logged In: YES 
user_id=31435

Assigned to me, and Postponed (2.2 is in feature freeze).  
When resurrected, will try to find Skip's old patch 
(email'ed?) for this and combine them.
msg38237 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2001-12-25 19:09
Logged In: YES 
user_id=31435

Now that 2.2 is out, changed the Postponed status back to 
None (although I fear it may remain Postponed anyway -- SF 
doesn't seem to like resetting a Resolution to None).
msg38238 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2001-12-25 19:10
Logged In: YES 
user_id=31435

Yup, it's stuck at Postponed.
msg38239 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-10-26 15:09
Logged In: YES 
user_id=21627

Tim, is there anything wrong with this patch? I recommend to
accept it as-is.
msg38240 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-11-22 08:23
Logged In: YES 
user_id=21627

Thanks for the patch. Applied as

libdoctest.tex 1.10
doctest.py 1.25
NEWS 1.533

Sorry it took so long.
msg38241 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2002-11-24 05:20
Logged In: YES 
user_id=31435

It wasn't Martin's fault it took so long, it was all mine.  I 
always approved of this, but since I knew David was 
working around it in his own code, it stayed at the bottom 
of my heap.  Thank you for giving it some attention, Martin!
History
Date User Action Args
2022-04-10 16:04:41adminsetgithub: 35611
2001-11-28 12:04:17david_abrahamscreate