code: def test_gettext_compact_command_line_true():
      config = Config({}, {"gettext_compact": "1"})
      config.add("gettext_compact", True, "", {bool, str})
      _gettext_compact_validator(..., config)
  
      # regression test for #8549 (-D gettext_compact=1)
      assert config.gettext_compact is True
  
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 33 for calling a global function with example usage: test_gettext_compact_command_line_true() without return types