code: def mute_warn():
      from IPython.utils import warn
  
      save_warn = warn.warn
      warn.warn = lambda *a, **kw: None
      try:
          yield
      finally:
          warn.warn = save_warn
  
imports: from __future__ import absolute_import
  import os
  import re
  import sys
  import tempfile
  from contextlib import contextmanager
  from io import StringIO
  from subprocess import Popen, PIPE
  from traitlets.config.loader import Config
  from IPython.utils.process import get_output_error_code
  from IPython.utils.text import list_strings
  from IPython.utils.io import temp_pyfile, Tee
  from IPython.utils import py3compat
  from IPython.utils.encoding import DEFAULT_ENCODING
  from .None import decorators
  from .None import skipdoctest
label_desc: Use image node_id 9 for calling a global function with example usage: mute_warn() without return types