class_docstr: A context manager for "deep suppression" of stdout and stderr in
  Python, i.e. it suppresses all print, even if the print originates in a
  compiled C/Fortran sub-function.
     This does not suppress raised exceptions, since exceptions are printed
  to stderr just before a script exits, and after the context manager has
  exited (at least, I think that is why it lets exceptions through).
  
  source:
  https://stackoverflow.com/questions/11130156/suppress-stdout-stderr-print-from-python-functions
code: def __enter__(self):
      # Assign the null pointers to stdout and stderr.
      os.dup2(self.null_fds[0], 1)
      os.dup2(self.null_fds[1], 2)
  
file_path: darts/darts/logging.py
imports: import logging
  import os
  import time
  import warnings
label_desc: Use image node_id 2 for calling the SuppressStdoutStderr obj's underlying member method code with example usage: obj.__enter__() without return types