class_docstr: Test ability to marshall time_input protos.
class_docstr_tok: ["Test","ability","to","marshall","time_input","protos","."]
code: def test_label_visibility_wrong_value(self):
      with self.assertRaises(StreamlitAPIException) as e:
          st.time_input("the label", label_visibility="wrong_value")
      self.assertEqual(
          str(e.exception),
          "Unsupported label_visibility option 'wrong_value'. Valid values are "
          "'visible', 'hidden' or 'collapsed'.",
      )
  
file_path: streamlit/lib/tests/streamlit/elements/time_input_test.py
imports: from datetime import datetime, time
  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 tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 7 for calling the TimeInputTest obj's underlying member method code with example usage: obj.test_label_visibility_wrong_value() without return types