class_docstr: Test ability to marshall select slider protos.
docstr: Test a range set by session state.
docstr_tok: ["Test","a","range","set","by","session","state","."]
code: def test_range_session_state(self):
      """Test a range set by session state."""
      state = st.session_state
      state["colors"] = ("red", "orange")
  
      colors = st.select_slider(
          "select colors",
          options=["red", "orange", "yellow"],
          key="colors",
      )
  
      assert colors == ("red", "orange")
  
imports: from unittest.mock import MagicMock, patch
  import numpy
  import pandas
  import pytest
  from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.LabelVisibilityMessage_pb2 import LabelVisibilityMessage
  from streamlit.testing.v1.app_test import AppTest
  from streamlit.testing.v1.util import patch_config_options
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 9 for calling the SliderTest obj's underlying member method code with example usage: obj.test_range_session_state() without return types