code: def test_executor_unknown_argument(tmp_path: Path) -> None:
      with test_slurm.mocked_slurm():
          with pytest.raises(TypeError):
              auto.AutoExecutor(folder=tmp_path, slurm_foobar=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 5 for calling a global function with example usage: test_executor_unknown_argument(tmp_path) without return types