class_docstr: Test ability to marshall form protos.
class_docstr_tok: ["Test","ability","to","marshall","form","protos","."]
docstr: Multiple forms with different keys are allowed.
code: def test_multiple_forms_same_labels_different_keys(self):
      """Multiple forms with different keys are allowed."""
  
      try:
          st.form(key="foo")
          st.form(key="bar")
  
      except Exception:
          self.fail(
              "Forms with same labels and different keys failed to create."
          )
  
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 4 for calling the FormMarshallingTest obj's underlying member method code with example usage: obj.test_multiple_forms_same_labels_different_keys() without return types