Re: doctest quiet again before exit how

2007-12-13 Thread pelavarre
By the way, I copied this 2006-10 clp issue into Bugs.python.org. -- Pat LaVarre http://bugs.python.org/issue1611 TITLE: doctest.testmod gets noisy if called more than once per SystemExit SUMMARY: Calling doctest.testmod more than once before SystemExit spews stderr messages such as ***

Re: to Doctest as SystemExit is to Python

2007-12-13 Thread pelavarre
Sent: 2006-11-09; To: comp.lang.python Can doctest ... be persuaded to exit after a catastroph[e]...? ... sys.exit() doesn't do what I mean: it raises SystemExit ... [and doesn't exit] ... doctest.REPORT_ONLY_FIRST_FAILURE doesn't do what I mean [it filters stdout but doesn't exit] Yes