mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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>).
This commit is contained in:
parent
1b6e08a25e
commit
10603b8799
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue