code: def reset_stderr():
      prev_stderr = sys.stderr
      yield
      sys.stderr = prev_stderr
  
file_path: mlflow/tests/autologging/fixtures.py
imports: import os
  import sys
  import pytest
  from mlflow.environment_variables import _MLFLOW_AUTOLOGGING_TESTING
  from mlflow.utils import logging_utils
  from mlflow.utils.autologging_utils import is_testing
label_desc: Use image node_id 5 for calling a global function with example usage: reset_stderr() without return types