code: def test_fail_framedimension():
      """
      IO Test - made to fail with multiple frame dimension
      """
      np.random.seed(0)
      # generate random data for 10 frames
      random_data1 = np.random.random(size=(480, 640, 3)) * 255
      input_data1 = random_data1.astype(np.uint8)
  
      np.random.seed(0)
      random_data2 = np.random.random(size=(580, 640, 3)) * 255
      input_data2 = random_data2.astype(np.uint8)
  
      streamer = StreamGear(output="output.mpd")
      streamer.stream(None)
      streamer.stream(input_data1)
      streamer.stream(input_data2)
      streamer.terminate()
  
imports: import numpy
  import pytest
  from vidgear.gears import StreamGear
label_desc: Use image node_id 2 for calling a global function with example usage: test_fail_framedimension() without return types