mirror of https://github.com/python/cpython
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:
parent
fcbf5d0ac1
commit
f62ae822d4
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue