def METHOD_NAME(self):
    old = _ufunc_config.seterr(fallback_mode='print')
    saved_stdout = io.StringIO()
    with contextlib.redirect_stdout(saved_stdout):
        a = testing.shaped_random((3, 4), fallback_mode.numpy)
        vec_abs = fallback_mode.numpy.vectorize(fallback_mode.numpy.fabs)
        vec_abs(a)
    _ufunc_config.seterr(**old)
    output = saved_stdout.getvalue().strip()
    msg1 = "'vectorize' method not in cupy, "
    msg1 += "falling back to '"
    msg1 += numpy.vectorize.__module__ + ".vectorize'"
    msg2 = "'fabs' method not in cupy, "
    msg2 += "falling back to its numpy implementation"
    assert output == ("Warning: " + msg1 + "\nWarning: " + msg2)