class_docstr: Test for Magic
  The test counts the number of substitutions that magic.add_code do for
  a few code snippets. The test passes if the expected number of
  substitutions have been made.
class_docstr_tok: ["Test","for","Magic","The","test","counts","the","number","of","substitutions","that","magic.add_code","do","for","a","few","code","snippets",".","The","test","passes","if","the","expected","number","of","substitutions","have","been","made","."]
docstr: Test that async function docstrings don't print in the app by default
docstr_tok: ["Test","that","async","function","docstrings","do","n't","print","in","the","app","by","default"]
code: def test_docstring_is_ignored_async_func(self):
      """Test that async function docstrings don't print in the app by default"""
      CODE = """
  async def myfunc(a):
      '''This is the docstring for async func'''
      return 43
  """
      self._testCode(CODE, 0)
  
imports: import ast
  import unittest
  import streamlit.runtime.scriptrunner.magic
  from tests.testutil import patch_config_options
label_desc: Use image node_id 16 for calling the MagicTest obj's underlying member method code with example usage: obj.test_docstring_is_ignored_async_func() without return types