code: def test_clips_array(util):
      red = ColorClip((1024, 800), color=(255, 0, 0))
      green = ColorClip((1024, 800), color=(0, 255, 0))
      blue = ColorClip((1024, 800), color=(0, 0, 255))
  
      video = clips_array([[red, green, blue]])
  
      with pytest.raises(ValueError):  # duration not set
          video.fx(resize, width=480).write_videofile(
              os.path.join(util.TMP_DIR, "test_clips_array.mp4")
          )
  
file_path: moviepy/tests/test_compositing.py
imports: import os
  import numpy
  import pytest
  from moviepy.video.compositing.CompositeVideoClip import CompositeVideoClip, clips_array
  from moviepy.video.compositing.concatenate import concatenate_videoclips
  from moviepy.video.compositing.transitions import slide_in, slide_out
  from moviepy.video.fx.resize import resize
  from moviepy.video.VideoClip import BitmapClip, ColorClip
label_desc: Use image node_id 1 for calling a global function with example usage: test_clips_array(util) without return types