PyFile:IncompleteStatementList.py
  PyFunction('foo')
    PsiElement(Py:DEF_KEYWORD)('def')
    PsiWhiteSpace(' ')
    PsiElement(Py:IDENTIFIER)('foo')
    PyParameterList
      PsiElement(Py:LPAR)('(')
      PsiElement(Py:RPAR)(')')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyStatementList
      PyIfStatement
        PyIfPartIf
          PsiElement(Py:IF_KEYWORD)('if')
          PsiWhiteSpace(' ')
          PyReferenceExpression: ba
            PsiElement(Py:IDENTIFIER)('ba')
          PsiErrorElement:':' expected
            <empty list>
          PyStatementList
            PsiErrorElement:Indent expected
              <empty list>
  PsiWhiteSpace('\n\n')
  PyFunction('bar')
    PsiElement(Py:DEF_KEYWORD)('def')
    PsiWhiteSpace(' ')
    PsiElement(Py:IDENTIFIER)('bar')
    PyParameterList
      PsiElement(Py:LPAR)('(')
      PsiElement(Py:RPAR)(')')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyStatementList
      PyPassStatement
        PsiElement(Py:PASS_KEYWORD)('pass')