def test_readlines(self):
        """
        C{readlines()} should return a list of all the lines.
        """
        with self.getFileEntry(b'ho\nho\nho') as fileEntry:
            self.assertEqual(fileEntry.readlines(), [b'ho\n', b'ho\n', b'ho'])

        C{readlines()} should return a list of all the lines.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_zipstream.py