]> granicus.if.org Git - python/commitdiff
Windows can't remove a file before it is closed
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 29 Oct 2010 23:55:55 +0000 (23:55 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 29 Oct 2010 23:55:55 +0000 (23:55 +0000)
Lib/test/test_cprofile.py

index d7f9d7244d5052229b051b3afa47af6c8249e87e..ae17c2b69486a15aaba6e8ae655d578fed4b8477 100644 (file)
@@ -27,7 +27,7 @@ class CProfileTest(ProfileTest):
                 obj.disable()
             finally:
                 sys.stderr = sys.__stderr__
-                unlink(TESTFN)
+        unlink(TESTFN)
 
 
 def test_main():