[Python-checkins] r86002 - in python/branches/release27-maint: Lib/test/test_fileio.py

brian.curtin python-checkins at python.org
Sun Oct 31 02:00:30 CEST 2010


Author: brian.curtin
Date: Sun Oct 31 02:00:30 2010
New Revision: 86002

Log:
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
........


Modified:
   python/branches/release27-maint/   (props changed)
   python/branches/release27-maint/Lib/test/test_fileio.py

Modified: python/branches/release27-maint/Lib/test/test_fileio.py
==============================================================================
--- python/branches/release27-maint/Lib/test/test_fileio.py	(original)
+++ python/branches/release27-maint/Lib/test/test_fileio.py	Sun Oct 31 02:00:30 2010
@@ -263,7 +263,6 @@
                     # 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 \


More information about the Python-checkins mailing list