code: def test_cupy_supported_pyfunc(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.abs
          )
          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 = (
          "'absolute' method is available in cupy but cannot be used, "
      )
      msg2 += "falling back to its numpy implementation"
      assert output == ("Warning: " + msg1 + "\nWarning: " + msg2)
  
imports: import contextlib
  import io
  import numpy
  import pytest
  from cupy import testing
  from cupyx import fallback_mode
  from cupyx import _ufunc_config
  from cupyx_tests.fallback_mode_tests import test_fallback
label_desc: Use image node_id 2 for calling the TestNotificationVectorize obj's underlying member method code with example usage: obj.test_cupy_supported_pyfunc() without return types