def METHOD_NAME():
    pytest.importorskip("ipywidgets")
    def raiser(args):
        raise ValueError
    m = Minuit(lambda x, y: 0, 0, 1)
    # by default do not raise
    m.interactive(raiser)
    with pytest.raises(ValueError):
        m.interactive(raiser, raise_on_exception=True)