mirror of
https://github.com/python/cpython.git
synced 2024-11-26 03:14:27 +08:00
test_hotshot fails on Windows now. Added XXX comment explaining why,
and that I don't know how to fix it. Fred?
This commit is contained in:
parent
f31ff27c57
commit
ba8c069eb9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user