code: def test_archive_dev_folders(tmp_path: Path) -> None:
      utils.archive_dev_folders(
          [Path(__file__).parent],
          outfile=tmp_path.with_suffix(".tar.gz"),
      )
      shutil.unpack_archive(
          str(tmp_path.with_suffix(".tar.gz")), extract_dir=tmp_path
      )
      assert (tmp_path / "core").exists()
  
file_path: submitit/submitit/core/test_utils.py
imports: import os
  import shutil
  import sys
  from pathlib import Path
  from typing import Optional
  import pytest
  from .None import utils
label_desc: Use image node_id 7 for calling a global function with example usage: test_archive_dev_folders(tmp_path) without return types