diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-10-13 00:19:39 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-10-13 00:19:39 (GMT) |
commit | 10603b8799714c57f87c265867103a1d6c54f3fa (patch) | |
tree | ec7296d3a9603b32a71a9b3b74d0ae7d13b0a161 /Lib/test/test_hotshot.py | |
parent | 1b6e08a25e5ae538d5f2911f75ad9833a9c1f919 (diff) | |
download | cpython-10603b8799714c57f87c265867103a1d6c54f3fa.zip cpython-10603b8799714c57f87c265867103a1d6c54f3fa.tar.gz cpython-10603b8799714c57f87c265867103a1d6c54f3fa.tar.bz2 |
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>).
Diffstat (limited to 'Lib/test/test_hotshot.py')
-rw-r--r-- | Lib/test/test_hotshot.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |