summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-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'