code: def update_stdout():
      # setup stdout to ensure output is available with nose
      io.stdout = sys.stdout = sys.__stdout__
  
file_path: catboost/contrib/python/ipdb/py2/ipdb/stdout.py
imports: from __future__ import print_function
  import sys
  from contextlib import contextmanager
  from IPython.utils import io
  from .__main__ import set_trace
  from .__main__ import post_mortem
label_desc: Use image node_id 1 for calling a global function with example usage: update_stdout() without return types