def METHOD_NAME(self, backend):
    tz = datetime.timezone(datetime.timedelta(hours=-8))
    time = datetime.datetime(2012, 1, 16, 22, 43, tzinfo=tz)
    utc_time = datetime.datetime(2012, 1, 17, 6, 43)
    serial_number = 333
    builder = (
        x509.RevokedCertificateBuilder()
        .serial_number(serial_number)
        .revocation_date(time)
    )
    revoked_certificate = builder.build(backend)
    assert revoked_certificate.revocation_date == utc_time