code: def test_debug_map_array(tmp_path: Path) -> None:
      g = CheckFunction(5)
      executor = debug.DebugExecutor(tmp_path)
      jobs = executor.map_array(g, g.data1, g.data2)
      print(type(jobs[0]))
      print(jobs)
      assert list(map(g, g.data1, g.data2)) == [
          j.result() for j in jobs
      ]
  
file_path: submitit/submitit/local/test_debug.py
imports: import functools
  import os
  from pathlib import Path
  from typing import Any, Tuple
  import pytest
  from ..core import utils
  from ..core.core import Job
  from ..core.job_environment import JobEnvironment
  from .None import debug
label_desc: Use image node_id 2 for calling a global function with example usage: test_debug_map_array(tmp_path) without return types