code: def test_auto_batch_watcher(tmp_path: Path) -> None:
      with test_slurm.mocked_slurm():
          executor = auto.AutoExecutor(folder=tmp_path)
          with executor.batch():
              job = executor.submit(print, "hi")
          assert not job.done()
  
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 9 for calling a global function with example usage: test_auto_batch_watcher(tmp_path) without return types