code: def test_config_opt_deprecated(recwarn):
      opt = _Opt("default", "", ())
  
      with pytest.warns(RemovedInSphinx90Warning):
          default, rebuild, valid_types = opt
  
      with pytest.warns(RemovedInSphinx90Warning):
          _ = opt[0]
  
      with pytest.warns(RemovedInSphinx90Warning):
          _ = list(opt)
  
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 1 for calling a global function with example usage: test_config_opt_deprecated(recwarn) without return types