code: def test_uri_reading(test_images):
      uri = "https://dash.akamaized.net/dash264/TestCases/2c/qualcomm/1/MultiResMPEG2.mpd"
  
      with av.open(uri) as container:
          for idx, frame in enumerate(container.decode(video=0)):
              if idx < 250:
                  continue
  
              expected = frame.to_ndarray(format="rgb24")
              break
  
      actual = iio.imread(uri, plugin="pyav", index=250)
  
      assert np.allclose(actual, expected)
  
imports: import io
  import warnings
  from contextlib import ExitStack
  from pathlib import Path
  import numpy
  import pytest
  from conftest import IS_PYPY
  import imageio.v3
  from av.video.format import names
  from imageio.plugins.pyav import _format_to_dtype
label_desc: Use image node_id 22 for calling a global function with example usage: test_uri_reading(test_images) without return types