[Python-checkins] CVS: python/dist/src/Lib/test test_unpack.py,1.2,1.3 test_rgbimg.py,1.8,1.9
Fred L. Drake
python-dev@python.org
Fri, 18 Aug 2000 07:50:23 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Modules cstubs,2.20,2.21
- Next message: [Python-checkins] CVS: python/dist/src/Lib/plat-irix5 flp.py,1.18,1.19 jpeg.py,1.2,1.3 readcd.py,1.10,1.11 torgb.py,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv22192
Modified Files:
test_unpack.py test_rgbimg.py
Log Message:
Convert some old-style string exceptions to class exceptions.
Index: test_unpack.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_unpack.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_unpack.py 1998/03/26 19:42:58 1.2
--- test_unpack.py 2000/08/18 14:50:20 1.3
***************
*** 101,105 ****
# unpacking a sequence where the test for too long raises a different
# kind of error
! BozoError = 'BozoError'
class BadSeq:
--- 101,106 ----
# unpacking a sequence where the test for too long raises a different
# kind of error
! class BozoError(Exception):
! pass
class BadSeq:
Index: test_rgbimg.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_rgbimg.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** test_rgbimg.py 1998/04/23 20:13:23 1.8
--- test_rgbimg.py 2000/08/18 14:50:20 1.9
***************
*** 5,9 ****
from test_support import verbose, unlink, findfile
! error = 'test_rgbimg.error'
print 'RGBimg test suite:'
--- 5,10 ----
from test_support import verbose, unlink, findfile
! class error(Exception):
! pass
print 'RGBimg test suite:'
- Previous message: [Python-checkins] CVS: python/dist/src/Modules cstubs,2.20,2.21
- Next message: [Python-checkins] CVS: python/dist/src/Lib/plat-irix5 flp.py,1.18,1.19 jpeg.py,1.2,1.3 readcd.py,1.10,1.11 torgb.py,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]