code: def test_mode_i():
      src = hopper("L")
      data = list(src.getdata())
      im = Image.new("I", src.size, 0)
      im.putdata(data, 2, 256)
  
      target = [2 * elt + 256 for elt in data]
      assert list(im.getdata()) == target
  
file_path: pillow-simd/Tests/test_image_putdata.py
imports: import sys
  from array import array
  import pytest
  from PIL import Image
  from .helper import assert_image_equal, hopper
label_desc: Use image node_id 5 for calling a global function with example usage: test_mode_i() without return types