def METHOD_NAME(self):
    if PyOpenSSLContext is None:
        raise exc.VersionMismatchError(
            "The X509Adapter requires at least Requests 2.12.0 to be "
            "installed. Version {} was found instead.".format(
                requests.__version__
            )
        )