code: def make_app_with_empty_project(make_app, tmp_path):
      (tmp_path / "conf.py").write_text("", encoding="utf8")
  
      def _make_app(*args, **kw):
          kw.setdefault("srcdir", Path(tmp_path))
          return make_app(*args, **kw)
  
      return _make_app
  
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 12 for calling a global function with example usage: make_app_with_empty_project(make_app, tmp_path) and returns: _make_app, make_app