PyFile:AsyncWith.py
  PyFunction('foo')
    PsiElement(Py:ASYNC_KEYWORD)('async')
    PsiWhiteSpace(' ')
    PsiElement(Py:DEF_KEYWORD)('def')
    PsiWhiteSpace(' ')
    PsiElement(Py:IDENTIFIER)('foo')
    PyParameterList
      PsiElement(Py:LPAR)('(')
      PsiElement(Py:RPAR)(')')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyStatementList
      PyWithStatement
        PsiElement(Py:ASYNC_KEYWORD)('async')
        PsiWhiteSpace(' ')
        PsiElement(Py:WITH_KEYWORD)('with')
        PsiWhiteSpace(' ')
        PyWithItem
          PyReferenceExpression: x
            PsiElement(Py:IDENTIFIER)('x')
        PsiElement(Py:COLON)(':')
        PsiWhiteSpace('\n        ')
        PyStatementList
          PyPassStatement
            PsiElement(Py:PASS_KEYWORD)('pass')
  PsiWhiteSpace('\n\n')
  PyWithStatement
    PsiErrorElement:'async' keyword is not expected here
      PsiElement(Py:IDENTIFIER)('async')
    PsiWhiteSpace(' ')
    PsiElement(Py:WITH_KEYWORD)('with')
    PsiWhiteSpace(' ')
    PyWithItem
      PyReferenceExpression: y
        PsiElement(Py:IDENTIFIER)('y')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyStatementList
      PyPassStatement
        PsiElement(Py:PASS_KEYWORD)('pass')