From 10603b8799714c57f87c265867103a1d6c54f3fa Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 13 Oct 2001 00:19:39 +0000 Subject: 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 ). --- Lib/test/test_hotshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_hotshot.py b/Lib/test/test_hotshot.py index d406290..4ddc907 100644 --- a/Lib/test/test_hotshot.py +++ b/Lib/test/test_hotshot.py @@ -28,7 +28,7 @@ class HotShotTestCase(unittest.TestCase): def get_logreader(self): log = hotshot.log.LogReader(self.logfn) - os.unlink(self.logfn) + #XXX os.unlink(self.logfn) return log def get_events_wotime(self): -- cgit v0.12