code: def cleanup_tmp_files(test_func):
      """
      A decorator to help test codes remove temporary files after the tests.
      """
  
      def wrapper_function():
          try:
              test_func()
          finally:
              TmpFileManager.cleanup()
  
      return wrapper_function
  
imports: import shutil
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: cleanup_tmp_files(test_func) and returns: wrapper_function