code: def test_config_pickle_protocol(tmp_path, protocol: int):
      config = Config()
  
      pickled_config = pickle.loads(pickle.dumps(config, protocol))
  
      assert list(config._options) == list(pickled_config._options)
      assert repr(config) == repr(pickled_config)
  
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 4 for calling a global function with example usage: test_config_pickle_protocol(tmp_path, protocol) without return types