def raiser(eclass):
    raise eclass()

# test decorator for skipping tests when libraries are unavailable
raise an exception
dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/tests/clienttest.py/raiser