PyFile:CommentAtEndOfMethod.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
      PyAssignmentStatement
        PyTargetExpression: a
          PsiElement(Py:IDENTIFIER)('a')
        PsiWhiteSpace(' ')
        PsiElement(Py:EQ)('=')
        PsiWhiteSpace(' ')
        PyNumericLiteralExpression
          PsiElement(Py:INTEGER_LITERAL)('1')
      PsiWhiteSpace('\n    ')
      PsiComment(Py:END_OF_LINE_COMMENT)('#comment')