@contextmanager
    def provisional_toolkit(toolkit_name):
        if ETSConfig.toolkit:
            raise AttributeError("ETSConfig toolkit is already set")
        ETSConfig.toolkit = toolkit_name
        try:
            yield
        except:
            # reset the toolkit state
            ETSConfig._toolkit = ''
            raise
Takes actor/component description and
dataset/ETHPy150Open enthought/pyface/pyface/toolkit.py/provisional_toolkit--crossover with--dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/GlobalStore.actor_signature