code: def test_logging_emit_error_supressed(pytester: Pytester) -> None:
      """If logging is configured to silently ignore errors, pytest
      doesn't propagate errors either."""
      pytester.makepyfile(
          """
          import logging
  
          def test_bad_log(monkeypatch):
              monkeypatch.setattr(logging, 'raiseExceptions', False)
              logging.warning('oops', 'first', 2)
          """
      )
      result = pytester.runpytest()
      result.assert_outcomes(passed=1)
  
imports: import io
  import os
  import re
  from typing import cast
  import pytest
  from _pytest.capture import CaptureManager
  from _pytest.config import ExitCode
  from _pytest.fixtures import FixtureRequest
  from _pytest.pytester import Pytester
  from _pytest.terminal import TerminalReporter
label_desc: Use image node_id 32 for calling a global function with example usage: test_logging_emit_error_supressed(pytester) without return types