From: Tim Peters Date: Wed, 17 Jan 2001 18:59:46 +0000 (+0000) Subject: Stop creating an unbounded number of "Jack is my hero" files under Windows. X-Git-Tag: v2.1a1~192 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8551dd60781f738e5e5ef4e22b6f071d27e20b50;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Lib/test/test_binhex.py b/Lib/test/test_binhex.py index 4dfe14e07a3d..a2b2a2c56be9 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'