class_docstr: Test ability to marshall select slider protos.
docstr: Test that it raises an error on invalid value
docstr_tok: ["Test","that","it","raises","an","error","on","invalid","value"]
code: def test_invalid_values(self, value, options):
      """Test that it raises an error on invalid value"""
      with pytest.raises(ValueError):
          st.select_slider("the label", value=value, options=options)
  
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 4 for calling the SliderTest obj's underlying member method code with example usage: obj.test_invalid_values(value, options) without return types