code: def test_roundtrip_eye():
      for dtype in (
          bool,
          numpy.bool8,
          numpy.int8,
          numpy.int16,
          numpy.int32,
          numpy.uint8,
          numpy.uint16,
          numpy.uint32,
          float,
          numpy.float32,
          numpy.float64,
      ):
          arr = numpy.eye(10, dtype=dtype)
          numpy.testing.assert_array_equal(
              arr, numpy.array(Image.fromarray(arr))
          )
  
file_path: pillow-simd/Tests/test_numpy.py
imports: import pytest
  from PIL import Image
  from .helper import assert_deep_equal, assert_image, hopper
label_desc: Use image node_id 11 for calling a global function with example usage: test_roundtrip_eye() without return types