diff --git a/Lib/test/test_binhex.py b/Lib/test/test_binhex.py index 4dfe14e07a3..a2b2a2c56be 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'