code: def test_load_image(
      self,
      images_fn,
      ext,
      channels,
      load_type,
      expected_type,
      expected_channels,
  ):
      file_path = images_fn[ext]
  
      assert file_path.is_file()
  
      img = load_image(file_path, load_type)
      assert img.shape[0] == expected_channels
      assert img.dtype == expected_type
  
imports: import io
  import sys
  from pathlib import Path
  import numpy
  import pytest
  import requests
  import torch
  from kornia.core import Tensor
  from kornia.io import ImageLoadType, load_image, write_image
  from kornia.utils._compat import torch_version_ge
label_desc: Use image node_id 3 for calling the TestIoImage obj's underlying member method code with example usage: obj.test_load_image(images_fn, ext, channels, load_type, expected_type, expected_channels) without return types