code: def _wipe_internal_state_for_tests():
      global orig_stdout, orig_stderr
      orig_stdout = None
      orig_stderr = None
  
      global wrapped_stdout, wrapped_stderr
      wrapped_stdout = None
      wrapped_stderr = None
  
      global atexit_done
      atexit_done = False
  
      global fixed_windows_console
      fixed_windows_console = False
  
      try:
          # no-op if it wasn't registered
          atexit.unregister(reset_all)
      except AttributeError:
          # python 2: no atexit.unregister. Oh well, we did our best.
          pass
  
file_path: catboost/contrib/python/colorama/py3/colorama/initialise.py
imports: import atexit
  import contextlib
  import sys
  from .ansitowin32 import AnsiToWin32
label_desc: Use image node_id 1 for calling a global function with example usage: _wipe_internal_state_for_tests() without return types