code: def test_conf_warning_message(
      logger, name, default, annotation, actual, message
  ):
      config = Config({name: actual})
      config.add(name, default, False, annotation or ())
      check_confval_types(None, config)
      assert logger.warning.called
      assert logger.warning.call_args[0][0] == message
  
imports: import pickle
  import time
  from pathlib import Path
  from unittest import mock
  import pytest
  import sphinx
  from sphinx.builders.gettext import _gettext_compact_validator
  from sphinx.config import ENUM, Config, _Opt, check_confval_types
  from sphinx.deprecation import RemovedInSphinx90Warning
  from sphinx.errors import ConfigError, ExtensionError, VersionRequirementError
label_desc: Use image node_id 17 for calling a global function with example usage: test_conf_warning_message(logger, name, default, annotation, actual, message) without return types