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

Jeremy Hylton jhylton@users.sourceforge.net
2001年10月17日 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:

AltStyle によって変換されたページ (->オリジナル) /