code: def test_logging_mutual_exclusive():
      """
      Ensure that 'logging-file-config' and 'logging' have to be mutual exclusive.
      """
      config = {
          "logging": {"dask": "warning"},
          "logging-file-config": "/path/to/config",
      }
      with pytest.raises(RuntimeError):
          initialize_logging(config)
  
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 7 for calling a global function with example usage: test_logging_mutual_exclusive() without return types