code: def test_local_executor(tmp_path: Path) -> None:
      with test_slurm.mocked_slurm():
          executor = auto.AutoExecutor(folder=tmp_path, cluster="local")
      assert executor.cluster == "local"
  
file_path: submitit/submitit/auto/test_auto.py
imports: import sys
  from pathlib import Path
  import pytest
  from ..local import debug
  from ..slurm import test_slurm
  from .None import auto
label_desc: Use image node_id 2 for calling a global function with example usage: test_local_executor(tmp_path) without return types