[Python-checkins] CVS: python/dist/src/Lib/test regrtest.py,1.59,1.60

Jeremy Hylton jhylton@users.sourceforge.net
Wed, 17 Oct 2001 06:45:30 -0700


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

Modified Files:
	regrtest.py 
Log Message:
Make sure the output lists are sorted, even if run with -r.



Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** regrtest.py	2001/09/28 20:16:30	1.59
--- regrtest.py	2001/10/17 13:45:28	1.60
***************
*** 195,198 ****
--- 195,204 ----
              if module not in save_modules and module.startswith("test."):
                  test_support.unload(module)
+ 
+     # The lists won't be sorted if running with -r
+     good.sort()
+     bad.sort()
+     skipped.sort()
+     
      if good and not quiet:
          if not bad and not skipped and len(good) > 1: