code: def test_from_hsl(self) -> None:
      c = bcc.HSL(10, 0.1, 0.2)
      c2 = bcc.RGB.from_hsl(c)
      assert c2 is not c
      assert c2.a == 1.0
      assert c2.r == 56
      assert c2.g == 48
      assert c2.b == 46
  
      c = bcc.HSL(10, 0.1, 0.2, 0.3)
      c2 = bcc.RGB.from_hsl(c)
      assert c2 is not c
      assert c2.a == 0.3
      assert c2.r == 56
      assert c2.g == 48
      assert c2.b == 46
  
imports: from __future__ import annotations
  import pytest
  import bokeh.colors.color
label_desc: Use image node_id 5 for calling the Test_RGB obj's underlying member method code with example usage: obj.test_from_hsl() without return types