class_docstr: Test ability to marshall selectbox protos.
docstr: Test that value must be an int.
docstr_tok: ["Test","that","value","must","be","an","int","."]
code: def test_invalid_value(self):
      """Test that value must be an int."""
      with self.assertRaises(StreamlitAPIException):
          st.selectbox("the label", ("m", "f"), "1")
  
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 11 for calling the SelectboxTest obj's underlying member method code with example usage: obj.test_invalid_value() without return types