code: def test_color_too_long():
      # Arrange
      color_too_long = (
          "hsl(" + "1" * 40 + "," + "1" * 40 + "%," + "1" * 40 + "%)"
      )
  
      # Act / Assert
      with pytest.raises(ValueError):
          ImageColor.getrgb(color_too_long)
  
file_path: pillow/Tests/test_imagecolor.py
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageColor
label_desc: Use image node_id 6 for calling a global function with example usage: test_color_too_long() without return types