code: def test_call_fmt_from_env_requires_reload(path=None):
      ds = Dataset(path).create()
      subds = ds.create("sub")
      (subds.pathobj / ".datalad" / "procedures").mkdir(
          parents=True, exist_ok=True
      )
      script = subds.pathobj / ".datalad" / "procedures" / "p"
      script.write_text("import sys; assert len(sys.argv) == 1")
      with patch.dict(
          "os.environ",
          {
              "DATALAD_PROCEDURES_P_CALL__FORMAT": f"{sys.executable} {{script}}"
          },
      ):
          # This will fail if the above environment variable isn't in effect.
          ds.run_procedure("p")
  
imports: import json
  import os.path
  import sys
  from unittest.mock import patch
  from datalad.api import run_procedure
  from datalad.cmd import KillOutput, WitlessRunner
  from datalad.distribution.dataset import Dataset
  from datalad.support.exceptions import CommandError, InsufficientArgumentsError
  from datalad.tests.utils_pytest import OBSCURE_FILENAME, assert_false, assert_in_results, assert_not_in_results, assert_raises, assert_repo_status, assert_result_count, assert_true, eq_, known_failure_windows, ok_file_has_content, patch_config, with_tempfile, with_tree, xfail_buggy_annex_info
  from datalad.utils import chpwd, quote_cmdlinearg, swallow_outputs
label_desc: Use image node_id 10 for calling a global function with example usage: test_call_fmt_from_env_requires_reload(path) without return types