code: def test_init(self) -> None:
      with pytest.raises(TypeError):
          bcpe.Enum()
  
      with pytest.raises(ValueError):
          bcpe.Enum("red", "green", 1)
  
      with pytest.raises(ValueError):
          bcpe.Enum("red", "green", "red")
  
file_path: bokeh/tests/unit/bokeh/core/property/test_enum.py
imports: from __future__ import annotations
  import pytest
  from bokeh.core.enums import LineJoin, NamedColor
  from tests.support.util.api import verify_all
  from _util_property import _TestHasProps, _TestModel
  import bokeh.core.property.enum
label_desc: Use image node_id 1 for calling the Test_Enum obj's underlying member method code with example usage: obj.test_init() without return types