[Python-checkins] python/dist/src/Lib/test test_hotshot.py,1.7,1.8
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Wed, 17 Jul 2002 16:53:00 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv12345/python/Lib/test
Modified Files:
test_hotshot.py
Log Message:
test_hotshot fails on Windows now. Added XXX comment explaining why,
and that I don't know how to fix it. Fred?
Index: test_hotshot.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_hotshot.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** test_hotshot.py 17 Jul 2002 16:12:53 -0000 1.7
--- test_hotshot.py 17 Jul 2002 23:52:58 -0000 1.8
***************
*** 32,35 ****
--- 32,39 ----
return hotshot.log.LogReader.next(self)
except (IndexError, StopIteration):
+ # XXX This fails on Windows because the named file is still
+ # XXX open. Offhand I couldn't find an appropriate way to close
+ # XXX the file object, or even where the heck it is. LogReader
+ # XXX in particular doesn't have a close() method.
os.unlink(self.__logfn)
raise