code: def sound_func(func):
      @functools.wraps(func)
      def wrapper(*args, **kwargs):
          try:
              ret = func(*args, **kwargs)
          except RuntimeError as e:
              if support.verbose:
                  print(func.__name__, "failed:", e)
          else:
              if support.verbose:
                  print(func.__name__, "returned")
              return ret
  
      return wrapper
  
imports: import functools
  import pathlib
  import time
  import unittest
  from test import support
  from test.support import import_helper
label_desc: Use image node_id 1 for calling a global function with example usage: sound_func(func) and returns: wrapper, ret