code: def test_overriden_arguments(tmp_path: Path) -> None:
      with test_slurm.mocked_slurm():
          slurm_ex = auto.AutoExecutor(folder=tmp_path, cluster="slurm")
  
      slurm_ex.update_parameters(
          timeout_min=60,
          slurm_timeout_min=120,
          tasks_per_node=2,
          slurm_ntasks_per_node=3,
      )
      slurm_params = slurm_ex._executor.parameters
      # slurm use time
      assert slurm_params == {"time": 120, "ntasks_per_node": 3}
  
      # others use timeout_min
      local_ex = auto.AutoExecutor(folder=tmp_path, cluster="local")
      local_ex.update_parameters(timeout_min=60, slurm_time=120)
  
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 8 for calling a global function with example usage: test_overriden_arguments(tmp_path) without return types