def METHOD_NAME(example):
    old, new = examples[example]
    if new == Exception:
        with assert_raises(OverflowError):
            eval(example)
    else:
        result = eval(example)
        if new is unchanged:
            new = old
        assert_allclose(result, new, atol=1e-16)
        assert result.dtype == new.dtype