[Python-checkins] r85959 - python/branches/py3k/Lib/test/test_cprofile.py

antoine.pitrou python-checkins at python.org
Sat Oct 30 01:55:55 CEST 2010


Author: antoine.pitrou
Date: Sat Oct 30 01:55:55 2010
New Revision: 85959

Log:
Windows can't remove a file before it is closed



Modified:
   python/branches/py3k/Lib/test/test_cprofile.py

Modified: python/branches/py3k/Lib/test/test_cprofile.py
==============================================================================
--- python/branches/py3k/Lib/test/test_cprofile.py	(original)
+++ python/branches/py3k/Lib/test/test_cprofile.py	Sat Oct 30 01:55:55 2010
@@ -27,7 +27,7 @@
                 obj.disable()
             finally:
                 sys.stderr = sys.__stderr__
-                unlink(TESTFN)
+        unlink(TESTFN)
 
 
 def test_main():


More information about the Python-checkins mailing list