class_docstr: Test DeltaGenerator Progress.
docstr: Test Progress with invalid type in text parameter.
code: def test_progress_with_text(self):
      """Test Progress with invalid type in text parameter."""
      text = object()
      with self.assertRaises(StreamlitAPIException):
          st.progress(42, text=text)
  
file_path: streamlit/lib/tests/streamlit/elements/progress_test.py
imports: import streamlit
  from streamlit.errors import StreamlitAPIException
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 5 for calling the DeltaGeneratorProgressTest obj's underlying member method code with example usage: obj.test_progress_with_text() without return types