class_docstr: Test ability to marshall metric protos and invalid input.
class_docstr_tok: ["Test","ability","to","marshall","metric","protos","and","invalid","input","."]
code: def test_invalid_value(self):
      with self.assertRaises(TypeError) as exc:
          st.metric("Testing", [1, 2, 3])
  
      self.assertEqual(
          "'[1, 2, 3]' is of type <class 'list'>, which is not an accepted type."
          " value only accepts: int, float, str, or None. Please convert the value to an accepted type.",
          str(exc.exception),
      )
  
imports: from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.LabelVisibilityMessage_pb2 import LabelVisibilityMessage
  from streamlit.proto.Metric_pb2 import Metric
  from streamlit.type_util import _LOGGER
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 12 for calling the MetricTest obj's underlying member method code with example usage: obj.test_invalid_value() without return types