From 68822a0d59db0f3b66225b05fdd4f1f5fa351987 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Thu, 31 Mar 2016 07:21:56 +0000 Subject: Issue #22854: fileno() is always required in IOBase; remove test Also change BufferedReader.writable() and BufferedWriter.readable() to always return False. --- Lib/test/test_io.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 34760c9..b7f6046 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -693,12 +693,6 @@ class CommonBufferedTests: self.assertEqual(42, bufio.fileno()) - @unittest.skip('test having existential crisis') - def test_no_fileno(self): - # XXX will we always have fileno() function? If so, kill - # this test. Else, write it. - pass - def test_invalid_args(self): rawio = self.MockRawIO() bufio = self.tp(rawio) -- cgit v0.12