Source code for ewoksppf.tests.test_ppf_actors.pythonActorAddC2D
import time
from . import SLEEP_TIME
[docs]
def run(c=None, **kwargs):
time.sleep(SLEEP_TIME)
if c is None:
raise RuntimeError("Missing argument 'c'!")
d = c + 1
return {"d": d}