code: def test_2():
      images = []
      durations = []
  
      durations.append(1)
      images.append("media/python_logo.png")
      durations.append(2)
      images.append("media/matplotlib_demo1.png")
  
      # images are not the same size..
      with pytest.raises(Exception):
          ImageSequenceClip(images, durations=durations).close()
  
imports: import os
  import pytest
  from moviepy.video.io.ImageSequenceClip import ImageSequenceClip
label_desc: Use image node_id 2 for calling a global function with example usage: test_2() without return types