code: def test_little_endian(self):
      with Image.open("Tests/images/16bit.cropped.tif") as im:
          assert im.getpixel((0, 0)) == 480
          assert im.mode == "I;16"
  
          b = im.tobytes()
      # Bytes are in image native order (little endian)
      assert b[0] == ord(b"\xe0")
      assert b[1] == ord(b"\x01")
  
imports: import os
  from io import BytesIO
  import pytest
  from PIL import Image, ImageFile, TiffImagePlugin
  from PIL.TiffImagePlugin import RESOLUTION_UNIT, X_RESOLUTION, Y_RESOLUTION
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar, assert_image_similar_tofile, hopper, is_pypy, is_win32
label_desc: Use image node_id 18 for calling the TestFileTiff obj's underlying member method code with example usage: obj.test_little_endian() without return types