[Python-checkins] python/dist/src/Lib/test test_support.py,1.54,1.55

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Fri, 16 May 2003 17:58:35 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv5180

Modified Files:
	test_support.py 
Log Message:
Provide a clue that the doctests have run.

Index: test_support.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_support.py,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** test_support.py	10 May 2003 07:36:55 -0000	1.54
--- test_support.py	17 May 2003 00:58:33 -0000	1.55
***************
*** 286,290 ****
          if f:
              raise TestFailed("%d of %d doctests failed" % (f, t))
-         return f, t
      finally:
          sys.stdout = save_stdout
--- 286,292 ----
          if f:
              raise TestFailed("%d of %d doctests failed" % (f, t))
      finally:
          sys.stdout = save_stdout
+     if verbose:
+         print 'Ran %d doctests with zero failures' % (t,)
+     return f, t