code: def test_make_gamma_lut():
      # Arrange
      exp = 5
  
      # Act
      lut = ImagePalette.make_gamma_lut(exp)
  
      # Assert
      assert isinstance(lut, list)
      assert len(lut) == 256
      # Check a few values
      assert lut[0] == 0
      assert lut[63] == 0
      assert lut[127] == 8
      assert lut[191] == 60
      assert lut[255] == 255
  
file_path: pillow-simd/Tests/test_imagepalette.py
imports: import pytest
  from PIL import Image, ImagePalette
  from .helper import assert_image_equal, assert_image_equal_tofile
label_desc: Use image node_id 8 for calling a global function with example usage: test_make_gamma_lut() without return types