Fix ResourceWarning about unclosed file

This commit is contained in:
Brian Curtin 2010-10-30 23:56:45 +00:00
parent b2fda23922
commit 3ddcaafbbf
1 changed files with 0 additions and 1 deletions

View File

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