code: def test_loading_invalid_local_settings(self):
      from airflow.logging_config import configure_logging, log
  
      with settings_context(SETTINGS_FILE_INVALID):
          with patch.object(log, "error") as mock_info:
              # Load config
              with pytest.raises(ValueError):
                  configure_logging()
  
              mock_info.assert_called_once_with(
                  "Unable to load the config, contains a configuration error."
              )
  
imports: from __future__ import annotations
  import contextlib
  import importlib
  import logging
  import os
  import pathlib
  import sys
  import tempfile
  from unittest.mock import patch
  import pytest
  from airflow.configuration import conf
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 3 for calling the TestLoggingSettings obj's underlying member method code with example usage: obj.test_loading_invalid_local_settings() without return types