code: def test_hsl():
      with Color.from_hsl(hue=0.0, saturation=1.0, lightness=0.5) as c:
          assert c == Color("#f00")
      with Color("#00f") as c:
          assert c.hsl() == (0.6666666666666666, 1.0, 0.5)
  
imports: import ctypes
  import time
  import warnings
  from pytest import mark, raises
  from wand.color import Color
  from wand.compat import xrange
  from wand.version import QUANTUM_DEPTH, MAGICK_VERSION_INFO
label_desc: Use image node_id 33 for calling a global function with example usage: test_hsl() without return types