code: def test_save_tiff_uint16():
      # Tests that we're getting the pixel value in the right byte order.
      pixel_value = 0x1234
      a = numpy.array(
          [pixel_value] * TEST_IMAGE_SIZE[0] * TEST_IMAGE_SIZE[1],
          dtype=numpy.uint16,
      )
      a.shape = TEST_IMAGE_SIZE
      img = Image.fromarray(a)
  
      img_px = img.load()
      assert img_px[0, 0] == pixel_value
  
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 7 for calling a global function with example usage: test_save_tiff_uint16() without return types