PyFile:PatternMatchingRecoveryExtraCommasInSequencePatterns.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(' ')
      PySequencePattern
        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(' ')
      PySequencePattern
        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(' ')
      PySequencePattern
        PsiElement(Py:LPAR)('(')
        PyLiteralPattern
          PyNumericLiteralExpression
            PsiElement(Py:INTEGER_LITERAL)('1')
        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')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PySequencePattern
        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')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PySequencePattern
        PsiElement(Py:LBRACKET)('[')
        PsiErrorElement:Pattern expected
          <empty list>
        PsiElement(Py:COMMA)(',')
        PsiElement(Py:RBRACKET)(']')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PySequencePattern
        PsiElement(Py:LBRACKET)('[')
        PyLiteralPattern
          PyNumericLiteralExpression
            PsiElement(Py:INTEGER_LITERAL)('1')
        PsiElement(Py:COMMA)(',')
        PsiErrorElement:Pattern expected
          <empty list>
        PsiWhiteSpace(' ')
        PsiElement(Py:COMMA)(',')
        PsiElement(Py:RBRACKET)(']')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PySequencePattern
        PsiElement(Py:LBRACKET)('[')
        PyLiteralPattern
          PyNumericLiteralExpression
            PsiElement(Py:INTEGER_LITERAL)('1')
        PsiElement(Py:COMMA)(',')
        PsiErrorElement:Pattern expected
          <empty list>
        PsiWhiteSpace(' ')
        PsiElement(Py:COMMA)(',')
        PsiWhiteSpace(' ')
        PyLiteralPattern
          PyNumericLiteralExpression
            PsiElement(Py:INTEGER_LITERAL)('3')
        PsiElement(Py:RBRACKET)(']')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PySequencePattern
        PsiElement(Py:LBRACKET)('[')
        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:RBRACKET)(']')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')