[Python-checkins] CVS: python/dist/src/Lib/test test_support.py,1.19,1.20

Fred L. Drake fdrake@users.sourceforge.net
Thu, 22 Mar 2001 20:21:19 -0800


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

Modified Files:
	test_support.py 
Log Message:

When the regression test is run in verbose mode, make the PyUNIT-based
tests a little noisier, providing more progress information.


Index: test_support.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_support.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** test_support.py	2001/03/22 08:45:36	1.19
--- test_support.py	2001/03/23 04:21:17	1.20
***************
*** 113,117 ****
      """Run tests from a unittest.TestCase-derived class."""
      if verbose:
!         runner = unittest.TextTestRunner(sys.stdout, descriptions=0)
      else:
          runner = BasicTestRunner()
--- 113,117 ----
      """Run tests from a unittest.TestCase-derived class."""
      if verbose:
!         runner = unittest.TextTestRunner(sys.stdout, verbosity=2)
      else:
          runner = BasicTestRunner()