class_docstr: Test ability to marshall latex protos.
class_docstr_tok: ["Test","ability","to","marshall","latex","protos","."]
code: def test_sympy_expression(self):
      try:
          import sympy
  
          a, b = sympy.symbols("a b")
          out = a + b
      except:
          out = "a + b"
  
      st.latex(out)
  
      c = self.get_delta_from_queue().new_element.markdown
      self.assertEqual(c.body, "$$\na + b\n$$")
  
imports: import streamlit
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 2 for calling the LatexTest obj's underlying member method code with example usage: obj.test_sympy_expression() without return types