def raise_revoked(certificate):

    message = 'Server certificate verification failed - certificate has been revoked'
    raise TLSVerificationError(message, certificate)
Raises a TLSVerificationError due to the certificate being revoked
dataset/ETHPy150Open wbond/oscrypto/oscrypto/_tls.py/raise_revoked