code: def test_executor_argument(tmp_path: Path) -> None:
      with test_slurm.mocked_slurm():
          executor = auto.AutoExecutor(
              folder=tmp_path, slurm_max_num_timeout=22
          )
      assert getattr(executor._executor, "max_num_timeout", None) == 22
  
      # Local executor
      executor = auto.AutoExecutor(
          folder=tmp_path, cluster="local", slurm_max_num_timeout=22
      )
      assert getattr(executor._executor, "max_num_timeout", None) != 22
  
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 4 for calling a global function with example usage: test_executor_argument(tmp_path) without return types