code: def test_pack_unpack_recursive(tmp_path: Path, type):
      p = tmp_path / "a" / "b"
      p.mkdir(parents=True)
      with (p / "foo.pth").open("w"):
          pass
  
      pack(
          files={},
          yaml_files={},
          option=[p],
          outpath=str(tmp_path / f"out.{type}"),
      )
  
      unpack(str(tmp_path / f"out.{type}"), str(tmp_path))
      assert (tmp_path / p / "foo.pth").exists()
  
file_path: espnet/test/espnet2/main_funcs/test_pack_funcs.py
imports: import tarfile
  from pathlib import Path
  import pytest
  import yaml
  from espnet2.main_funcs.pack_funcs import find_path_and_change_it_recursive, pack, unpack
label_desc: Use image node_id 5 for calling a global function with example usage: test_pack_unpack_recursive(tmp_path, type) without return types