def test_closedArchive(self):
        """
        A closed ChunkingZipFile should raise a L{RuntimeError} when
        .readfile() is invoked.
        """
        czf = zipstream.ChunkingZipFile(self.makeZipFile(["something"]), "r")
        czf.close()
        self.assertRaises(RuntimeError, czf.readfile, "something")

        A closed ChunkingZipFile should raise a L{RuntimeError} when
        .readfile() is invoked.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_zipstream.py