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 'await' expressions do not get magicked
docstr_tok: ["Test","that","'await","'","expressions","do","not","get","magicked"]
code: def test_await_expression(self):
      """Test that 'await' expressions do not get magicked"""
      CODE_AWAIT_EXPRESSION = """
  async def await_func(a):
      await coro()
  """
      self._testCode(CODE_AWAIT_EXPRESSION, 0)
  
imports: import ast
  import unittest
  import streamlit.runtime.scriptrunner.magic
  from tests.testutil import patch_config_options
label_desc: Use image node_id 11 for calling the MagicTest obj's underlying member method code with example usage: obj.test_await_expression() without return types