code: def test_debug_logs_emitted_correctly_when_configured():
      stream = TestStream()
      sys.stderr = stream
  
      logger.setLevel(logging.DEBUG)
      logger.debug("test debug")
      assert "test debug" in stream.content
  
file_path: mlflow/tests/utils/test_logging_utils.py
imports: import logging
  import sys
  import pytest
  import mlflow
  from mlflow.utils import logging_utils
  from mlflow.utils.logging_utils import eprint
label_desc: Use image node_id 7 for calling a global function with example usage: test_debug_logs_emitted_correctly_when_configured() without return types