summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-10-31 00:00:30 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-10-31 00:00:30 (GMT)
commitf62ae822d4badf3511cf7e6e9ecace6a7df2cddc (patch)
treec35eee3d1a18dd2ffcbcce4bf5a8ee5ad3c584ad
parentfcbf5d0ac1effca9ffc18eb96db479f6c8ac0b6b (diff)
downloadcpython-f62ae822d4badf3511cf7e6e9ecace6a7df2cddc.zip
cpython-f62ae822d4badf3511cf7e6e9ecace6a7df2cddc.tar.gz
cpython-f62ae822d4badf3511cf7e6e9ecace6a7df2cddc.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 ........
-rw-r--r--Lib/test/test_fileio.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py
index 2760b73..cb6ec8e 100644
--- a/Lib/test/test_fileio.py
+++ b/Lib/test/test_fileio.py
@@ -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 \