def getContext(self):
        """
        Create and return an SSL context configured to use L{self._info} as the
        info callback.
        """
        context = Context(self._method)
        context.set_info_callback(self._info)
        return context

        Create and return an SSL context configured to use L{self._info} as the
        info callback.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/protocols/test/test_tls.py