changeset: 100809:3d9d9ca75a31 branch: 2.7 parent: 100805:249ef9d02aa6 user: Martin Panter date: Thu Mar 31 07:21:56 2016 +0000 files: Lib/test/test_io.py description: Issue #22854: fileno() is always required in IOBase; remove test Also change BufferedReader.writable() and BufferedWriter.readable() to always return False. diff -r 249ef9d02aa6 -r 3d9d9ca75a31 Lib/test/test_io.py --- a/Lib/test/test_io.py Wed Mar 30 21:02:00 2016 +0300 +++ b/Lib/test/test_io.py Thu Mar 31 07:21:56 2016 +0000 @@ -693,12 +693,6 @@ 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)