code: def test_hopper():
      im = hopper()
  
      st = ImageStat.Stat(im)
  
      # verify a few values
      assert st.extrema[0] == (0, 255)
      assert st.median[0] == 72
      assert st.sum[0] == 1470218
      assert st.sum[1] == 1311896
      assert st.sum[2] == 1563008
  
imports: import pytest
  from PIL import Image, ImageStat
  from .helper import hopper
label_desc: Use image node_id 2 for calling a global function with example usage: test_hopper() without return types