summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-17 18:59:46 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-01-17 18:59:46 (GMT)
commit8551dd60781f738e5e5ef4e22b6f071d27e20b50 (patch)
treebf7fe260bfdab654a4a4adb400b570eebb659282 /Lib
parent3712d396ac787232a41e7b14410072f455c4c97e (diff)
downloadcpython-8551dd60781f738e5e5ef4e22b6f071d27e20b50.zip
cpython-8551dd60781f738e5e5ef4e22b6f071d27e20b50.tar.gz
cpython-8551dd60781f738e5e5ef4e22b6f071d27e20b50.tar.bz2
Stop creating an unbounded number of "Jack is my hero" files under Windows.
Not that Jack doesn't deserve them, but saying it so often cheapens the sentiment.
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/test_binhex.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_binhex.py b/Lib/test/test_binhex.py
index 4dfe14e..a2b2a2c 100755
--- a/Lib/test/test_binhex.py
+++ b/Lib/test/test_binhex.py
@@ -31,6 +31,7 @@ def test():
f = open(fname1, 'r')
finish = f.readline()
+ f.close() # on Windows an open file cannot be unlinked
if start != finish:
print 'Error: binhex != hexbin'