def execute(code='', kc=None, **kwargs):
    from .test_message_spec import validate_message
    if kc is None:
        kc = KC
    msg_id = kc.execute(code=code, **kwargs)
    reply = kc.get_shell_msg(timeout=TIMEOUT)
    validate_message(reply, 'execute_reply', msg_id)
    busy = kc.get_iopub_msg(timeout=TIMEOUT)
    validate_message(busy, 'status', msg_id)
    nt.assert_equal(busy['content']['execution_state'], 'busy')

    if not kwargs.get('silent'):
        execute_input = kc.get_iopub_msg(timeout=TIMEOUT)
        validate_message(execute_input, 'execute_input', msg_id)
        nt.assert_equal(execute_input['content']['code'], code)

    return msg_id, reply['content']
* This method defines each curve's default pie slice
dataset/ETHPy150Open jupyter/jupyter_client/jupyter_client/tests/utils.py/execute--crossover with--dataset/ETHPy150Open anandology/pyjamas/library/gwt/chart/GChart.py/GChart.update