diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index 2760b733c51..cb6ec8e0207 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 \