def test_readWhole(self):
        """
        C{.read()} should read the entire file.
        """
        contents = b"Hello, world!"
        with self.getFileEntry(contents) as entry:
            self.assertEqual(entry.read(), contents)

        C{.read()} should read the entire file.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_zipstream.py