diff options
-rw-r--r-- | Lib/test/test_hotshot.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_hotshot.py b/Lib/test/test_hotshot.py index ebd2aaa..db3c914 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 |