code: def test_from_hsl(self) -> None:
      c = bcc.HSL(10, 0.2, 0.3)
      c2 = bcc.HSL.from_hsl(c)
      assert c2 is not c
      assert c2.a == c.a
      assert c2.h == c.h
      assert c2.s == c.s
      assert c2.l == c.l
  
      c = bcc.HSL(10, 0.2, 0.3, 0.1)
      c2 = bcc.HSL.from_hsl(c)
      assert c2 is not c
      assert c2.a == c.a
      assert c2.h == c.h
      assert c2.s == c.s
      assert c2.l == c.l
  
imports: from __future__ import annotations
  import pytest
  import bokeh.colors.color
label_desc: Use image node_id 4 for calling the Test_HSL obj's underlying member method code with example usage: obj.test_from_hsl() without return types