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
........
This commit is contained in:
Brian Curtin 2010-10-31 00:00:30 +00:00
parent fcbf5d0ac1
commit f62ae822d4
1 changed files with 0 additions and 1 deletions

View File

@ -263,7 +263,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 \