Commit d05f9ad3 authored by Antoine Pitrou's avatar Antoine Pitrou

Windows can't remove a file before it is closed

parent 01743684
...@@ -27,7 +27,7 @@ class CProfileTest(ProfileTest): ...@@ -27,7 +27,7 @@ class CProfileTest(ProfileTest):
obj.disable() obj.disable()
finally: finally:
sys.stderr = sys.__stderr__ sys.stderr = sys.__stderr__
unlink(TESTFN) unlink(TESTFN)
def test_main(): def test_main():
......
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