[Python-checkins] CVS: python/dist/src/Lib/test regrtest.py,1.20,1.21
Thomas Wouters
python-dev@python.org
Fri, 4 Aug 2000 06:17:55 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv30493/Lib/test
Modified Files:
regrtest.py
Log Message:
Make test_support.TestSkipped errors work the same way as ImportErrors:
mark the test as 'skipped', rather than 'failed'.
Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** regrtest.py 2000/08/03 15:50:37 1.20
--- regrtest.py 2000/08/04 13:17:51 1.21
***************
*** 228,232 ****
finally:
sys.stdout = save_stdout
! except ImportError, msg:
return -1
except KeyboardInterrupt, v:
--- 228,232 ----
finally:
sys.stdout = save_stdout
! except (ImportError, test_support.TestSkipped), msg:
return -1
except KeyboardInterrupt, v: