summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cprofile.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-10-29 23:55:55 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-10-29 23:55:55 (GMT)
commitd05f9ad30231029da69286ed3dc8eba0002499df (patch)
treeebe8f28aead6d75021eac6da255ede1b2fcbc73e /Lib/test/test_cprofile.py
parent0174368449b01720ea117898fc6d4c9341689011 (diff)
downloadcpython-d05f9ad30231029da69286ed3dc8eba0002499df.zip
cpython-d05f9ad30231029da69286ed3dc8eba0002499df.tar.gz
cpython-d05f9ad30231029da69286ed3dc8eba0002499df.tar.bz2
Windows can't remove a file before it is closed
Diffstat (limited to 'Lib/test/test_cprofile.py')
-rw-r--r--Lib/test/test_cprofile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cprofile.py b/Lib/test/test_cprofile.py
index d7f9d72..ae17c2b 100644
--- a/Lib/test/test_cprofile.py
+++ b/Lib/test/test_cprofile.py
@@ -27,7 +27,7 @@ class CProfileTest(ProfileTest):
obj.disable()
finally:
sys.stderr = sys.__stderr__
- unlink(TESTFN)
+ unlink(TESTFN)
def test_main():