code: def test_notification_print(self):
      old = _ufunc_config.seterr(fallback_mode="print")
      saved_stdout = io.StringIO()
  
      with contextlib.redirect_stdout(saved_stdout):
          self.func()
  
      _ufunc_config.seterr(**old)
      nf = self.func._numpy_object
      output = saved_stdout.getvalue().strip()
      msg1 = "'{}' method not in cupy, ".format(nf.__name__)
      msg2 = "falling back to '{}.{}'".format(
          nf.__module__, nf.__name__
      )
      assert output == ("Warning: " + msg1 + 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 3 for calling the TestNotificationModes obj's underlying member method code with example usage: obj.test_notification_print() without return types