diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-07-17 23:52:58 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-07-17 23:52:58 (GMT) |
commit | ba8c069eb90cb6f26bc7746f56074603071d7bd2 (patch) | |
tree | 25070b35dc1cd6f33d9c970259980822242b3f04 /Lib | |
parent | f31ff27c57c4233a6ecde48e58322c3e3fc128f9 (diff) | |
download | cpython-ba8c069eb90cb6f26bc7746f56074603071d7bd2.zip cpython-ba8c069eb90cb6f26bc7746f56074603071d7bd2.tar.gz cpython-ba8c069eb90cb6f26bc7746f56074603071d7bd2.tar.bz2 |
test_hotshot fails on Windows now. Added XXX comment explaining why,
and that I don't know how to fix it. Fred?
Diffstat (limited to 'Lib')
-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 |