code: def mock_a_npy_file(data, npy_name):
      """Generate a mock npy file for test."""
      data_arr = np.array(data)
      np.save(npy_name, data_arr)
  
file_path: delta/delta/data/utils/test_utils.py
imports: import json
  import tempfile
  from pathlib import Path
  import kaldiio
  import numpy
  from delta.data.utils.common_utils import JsonNumpyEncoder
label_desc: Use image node_id 6 for calling a global function with example usage: mock_a_npy_file(data, npy_name) without return types