def test_encode_decode():
    payload = {
        'iss': 'jeff',
        'exp': utc_timestamp() + 15,
        'claim': 'insanity'
    }

    secret = 'secret'
    jwt_message = jwt.encode(payload, secret)
    decoded_payload = jwt.decode(jwt_message, secret)

    assert decoded_payload == payload
Same as get_constant_generic(), but without specifying *builder*.
dataset/ETHPy150Open jpadilla/pyjwt/tests/test_jwt.py/test_encode_decode--crossover with--dataset/ETHPy150Open numba/numba/numba/targets/base.py/BaseContext.get_constant