[Python-checkins] python/dist/src/Lib/test test_hotshot.py,1.10,1.11
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Mon, 05 Aug 2002 15:16:43 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv14341/Lib/test
Modified Files:
test_hotshot.py
Log Message:
We only need to check for StopIteration here.
Index: test_hotshot.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_hotshot.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_hotshot.py 23 Jul 2002 19:03:54 -0000 1.10
--- test_hotshot.py 5 Aug 2002 22:16:40 -0000 1.11
***************
*** 31,35 ****
try:
return hotshot.log.LogReader.next(self)
! except (IndexError, StopIteration):
self.close()
os.unlink(self.__logfn)
--- 31,35 ----
try:
return hotshot.log.LogReader.next(self)
! except StopIteration:
self.close()
os.unlink(self.__logfn)