code: def fresh(name, *, oldapi=False):
      with util.uncache(name):
          with import_helper.frozen_modules():
              if oldapi:
                  with deprecated():
                      yield
              else:
                  yield
  
imports: from test.test_importlib import abc, util
  from test.support import captured_stdout, import_helper, STDLIB_DIR
  import contextlib
  import os.path
  import types
  import unittest
  import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: fresh(name) without return types