summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-17 18:59:46 +0000
committerTim Peters <tim.peters@gmail.com>2001-01-17 18:59:46 +0000
commit5a9bf08b78176097d918d0ec7174e68094ee63a2 (patch)
tree8b01ecaf7b7403b34c688768b3f4d990574d8b6d /Lib
parentbd4f3df8e4a2d99b7e806ed24652858471d985fa (diff)
downloadcpython-5a9bf08b78176097d918d0ec7174e68094ee63a2.tar.gz
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 4dfe14e07a..a2b2a2c56b 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'