def TestAction(aname, args, modelResult):
    if aname == 'sleep':
        (seconds,) = args
        time.sleep(seconds)
    else:
        raise NotImplementedError, 'action not supported by stepper: %s' % aname
dataset/ETHPy150Open jon-jacky/PyModel/samples/Timeout/Stepper.py/TestAction/original