Commit d3866d7c authored by Tim Peters's avatar Tim Peters

You can't unlink open files on Windows.

Simply commented it out, and then test_hotshot passes on Windows.
Leaving to Fred to fix "the right way" (it seems to be a feature of
unittest that all unittests try to unlink open files <wink>).
parent 088924af
...@@ -28,7 +28,7 @@ class HotShotTestCase(unittest.TestCase): ...@@ -28,7 +28,7 @@ class HotShotTestCase(unittest.TestCase):
def get_logreader(self): def get_logreader(self):
log = hotshot.log.LogReader(self.logfn) log = hotshot.log.LogReader(self.logfn)
os.unlink(self.logfn) #XXX os.unlink(self.logfn)
return log return log
def get_events_wotime(self): def get_events_wotime(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment