[issue1611] doctest.testmod gets noisy if called more than once per SystemExit

2009-03-13 Thread Nick Coghlan
Nick Coghlan added the comment: I believe I commented it out when we were trying to get the buildbots green before releasing 2.6. (The fact that regrtest.py trips over it does suggest there are legitimate reasons for calling doctest.testmod() more than once in a single test suite though) It loo

[issue1611] doctest.testmod gets noisy if called more than once per SystemExit

2009-03-13 Thread R. David Murray
R. David Murray added the comment: Nick, is the change you made to Lib/doctest.py, commenting out the print "*** DocTestRunner.merge:" message, intended to be permanent? If so, we can close this bug. -- nosy: +ncoghlan ___ Python tracker

[issue1611] doctest.testmod gets noisy if called more than once per SystemExit

2009-03-07 Thread R. David Murray
R. David Murray added the comment: The offending output lines were commented out by Nick Coghlan in commit 67790 with the comment "Don't print here by default, since doing so breaks some of the buildbots". The actual code change disables the output rather than changing the default, so perhaps i

[issue1611] doctest.testmod gets noisy if called more than once per SystemExit

2007-12-13 Thread Guido van Rossum
Guido van Rossum added the comment: I suspect that doctest was simply not intended to be used this way. Maybe Tim remembers more? -- assignee: -> tim_one nosy: +gvanrossum, tim_one __ Tracker <[EMAIL PROTECTED]> __

[issue1611] doctest.testmod gets noisy if called more than once per SystemExit

2007-12-13 Thread Pat LaVarre
New submission from Pat LaVarre: SUMMARY: Calling doctest.testmod more than once before SystemExit spews stderr messages such as "*** DocTestRunner.merge: '__main__' in both testers; summing outcomes" STEPS TO REPRODUCE: $ cat tttestmod.py import doctest doctest.testmod() # 1 doctest.testmo