class_docstr: Test ability to marshall form protos.
class_docstr_tok: ["Test","ability","to","marshall","form","protos","."]
docstr: Multiple forms with the same key are not allowed.
code: def test_multiple_forms_same_key(self):
      """Multiple forms with the same key are not allowed."""
  
      with self.assertRaises(StreamlitAPIException) as ctx:
          st.form(key="foo")
          st.form(key="foo")
  
      self.assertIn(
          "There are multiple identical forms with `key='foo'`",
          str(ctx.exception),
      )
  
imports: from unittest.mock import MagicMock, patch
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.runtime.state.session_state import RegisterWidgetResult
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 3 for calling the FormMarshallingTest obj's underlying member method code with example usage: obj.test_multiple_forms_same_key() without return types