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-30 23:58:50 +00:00
parent a0ba0f38df
commit 46805e9102
1 changed files with 0 additions and 1 deletions

View File

@ -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 \