From: Brian Curtin Date: Sat, 30 Oct 2010 23:58:50 +0000 (+0000) Subject: Merged revisions 86000 via svnmerge from X-Git-Tag: v3.1.3rc1~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46805e9102c50c67d760d97cabab4daf1f4f5b13;p=thirdparty%2FPython%2Fcpython.git Merged revisions 86000 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86000 | brian.curtin | 2010-10-30 18:56:45 -0500 (Sat, 30 Oct 2010) | 2 lines Fix ResourceWarning about unclosed file ........ --- diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index 2f299dc32e22..fa305da42a29 100644 --- a/Lib/test/test_fileio.py +++ b/Lib/test/test_fileio.py @@ -264,7 +264,6 @@ class OtherFileTests(unittest.TestCase): # OS'es that don't support /dev/tty. pass else: - f = _FileIO("/dev/tty", "a") self.assertEquals(f.readable(), False) self.assertEquals(f.writable(), True) if sys.platform != "darwin" and \