code: def test_basic_config_does_not_override_default_logging():
      code = textwrap.dedent(
          """\
          import logging
          import distributed
  
          logging.basicConfig()
          logging.getLogger("distributed").warning("hello")
          """
      )
      proc = subprocess.run(
          [sys.executable, "-c", code],
          check=True,
          capture_output=True,
          encoding="utf8",
      )
      assert proc.stdout == ""
      assert re.match(
          r"\A\d+-\d+-\d+ \d+:\d+:\d+,\d+ - distributed - WARNING - hello\n\Z",
          proc.stderr,
      )
  
imports: from __future__ import annotations
  import contextlib
  import logging
  import os
  import re
  import subprocess
  import sys
  import tempfile
  import textwrap
  import pytest
  import yaml
  import dask.config
  from distributed.config import initialize_logging
  from distributed.utils_test import captured_handler, new_config, new_config_file
label_desc: Use image node_id 6 for calling a global function with example usage: test_basic_config_does_not_override_default_logging() without return types