code: def test_errors_if_setup_is_not_callable(tmp_path, make_app):
      # test the error to call setup() in the config file
      (tmp_path / "conf.py").write_text("setup = 1", encoding="utf8")
      with pytest.raises(ConfigError) as excinfo:
          make_app(srcdir=tmp_path)
      assert "callable" in str(excinfo.value)
  
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 11 for calling a global function with example usage: test_errors_if_setup_is_not_callable(tmp_path, make_app) without return types