code: def test_read_image():
      path = os.path.dirname(__file__)
      file = "static/image.jpg"
      image_path = os.path.join(path, file)
  
      image = get_image()
  
      assert (read_image(image_path) == image).all()
  
file_path: detecto/detecto/tests/test_utils.py
imports: import os
  import pandas
  import pytest
  import torch
  import torchvision
  from .helpers import get_image
  from detecto.utils import *
  from detecto.utils import _is_iterable
label_desc: Use image node_id 4 for calling a global function with example usage: test_read_image() without return types