PyFile:PatternMatchingRecoveryExtraCommasInClassPatterns.py
  PyMatchStatement
    PsiElement(Py:MATCH_KEYWORD)('match')
    PsiWhiteSpace(' ')
    PyReferenceExpression: x
      PsiElement(Py:IDENTIFIER)('x')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyClassPattern
        PyReferenceExpression: C
          PsiElement(Py:IDENTIFIER)('C')
        PyPatternArgumentList
          PsiElement(Py:LPAR)('(')
          PsiErrorElement:Pattern expected
            <empty list>
          PsiElement(Py:COMMA)(',')
          PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyClassPattern
        PyReferenceExpression: C
          PsiElement(Py:IDENTIFIER)('C')
        PyPatternArgumentList
          PsiElement(Py:LPAR)('(')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
          PsiElement(Py:COMMA)(',')
          PsiErrorElement:Pattern expected
            <empty list>
          PsiWhiteSpace(' ')
          PsiElement(Py:COMMA)(',')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('3')
          PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyClassPattern
        PyReferenceExpression: C
          PsiElement(Py:IDENTIFIER)('C')
        PyPatternArgumentList
          PsiElement(Py:LPAR)('(')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
          PsiElement(Py:COMMA)(',')
          PsiErrorElement:Pattern expected
            <empty list>
          PsiWhiteSpace(' ')
          PsiElement(Py:COMMA)(',')
          PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyClassPattern
        PyReferenceExpression: C
          PsiElement(Py:IDENTIFIER)('C')
        PyPatternArgumentList
          PsiElement(Py:LPAR)('(')
          PsiErrorElement:Pattern expected
            <empty list>
          PsiElement(Py:COMMA)(',')
          PsiErrorElement:Pattern expected
            <empty list>
          PsiWhiteSpace(' ')
          PsiElement(Py:COMMA)(',')
          PsiWhiteSpace(' ')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('3')
          PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')