From ba8c069eb90cb6f26bc7746f56074603071d7bd2 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 17 Jul 2002 23:52:58 +0000 Subject: [PATCH] test_hotshot fails on Windows now. Added XXX comment explaining why, and that I don't know how to fix it. Fred? --- Lib/test/test_hotshot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_hotshot.py b/Lib/test/test_hotshot.py index ebd2aaa1153..db3c914b5bf 100644 --- a/Lib/test/test_hotshot.py +++ b/Lib/test/test_hotshot.py @@ -31,6 +31,10 @@ class UnlinkingLogReader(hotshot.log.LogReader): try: 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