code: def test_getitem_int(self) -> None:
      assert _TestGroup[0] == named.red
      assert _TestGroup[1] == named.green
      assert _TestGroup[2] == named.blue
      with pytest.raises(IndexError):
          _TestGroup[-1]
      with pytest.raises(IndexError):
          _TestGroup[3]
  
file_path: bokeh/tests/unit/bokeh/colors/test_util__colors.py
imports: from __future__ import annotations
  import pytest
  from bokeh.colors import named
  import bokeh.colors.util
label_desc: Use image node_id 4 for calling the Test_ColorGroup obj's underlying member method code with example usage: obj.test_getitem_int() without return types