def spawn(**kwargs):
    actor = get_actor()
    if not actor:
        raise RuntimeError('No actor available, cannot spawn')
    else:
        return actor.spawn(**kwargs)
Assert a is b, with repr messaging on failure.
dataset/ETHPy150Open quantmind/pulsar/pulsar/async/actor.py/spawn--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/testing/assertions.py/is_