diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-10-30 23:58:50 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-10-30 23:58:50 (GMT) |
commit | 46805e9102c50c67d760d97cabab4daf1f4f5b13 (patch) | |
tree | a67e8bab572266ec988e84de1d54b667cefb89ca /Lib | |
parent | a0ba0f38df7a18206f109f575d69f1eef8a3a356 (diff) | |
download | cpython-46805e9102c50c67d760d97cabab4daf1f4f5b13.zip cpython-46805e9102c50c67d760d97cabab4daf1f4f5b13.tar.gz cpython-46805e9102c50c67d760d97cabab4daf1f4f5b13.tar.bz2 |
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
........
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_fileio.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index 2f299dc..fa305da 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 \ |