PyFile:TypeAliasStatementWithTypeParameterAndDanglingComma.py
  PyTypeAliasStatement
    PsiElement(Py:TYPE_KEYWORD)('type')
    PsiWhiteSpace(' ')
    PsiElement(Py:IDENTIFIER)('MyType')
    PyTypeParameterList
      PsiElement(Py:LBRACKET)('[')
      PyTypeParameter
        PsiElement(Py:IDENTIFIER)('T')
      PsiElement(Py:COMMA)(',')
      PsiWhiteSpace(' ')
      PsiElement(Py:RBRACKET)(']')
    PsiWhiteSpace(' ')
    PsiElement(Py:EQ)('=')
    PsiWhiteSpace(' ')
    PySubscriptionExpression
      PyReferenceExpression: list
        PsiElement(Py:IDENTIFIER)('list')
      PsiElement(Py:LBRACKET)('[')
      PyReferenceExpression: T
        PsiElement(Py:IDENTIFIER)('T')
      PsiElement(Py:RBRACKET)(']')