Commits

Anonymous committed 4501cbf

Ooops. Fixing small syntax error in lexer test.

  • Participants
  • Parent commits 8f26f56

Comments (0)

Files changed (1)

tests/test_lexer.py

                 assert token.value == expected[i][1]
                 if len(expected[i]) > 2:
                     # Also check position?
-                    assert token.pos[0] == expected[i][2][0],
+                    assert token.pos[0] == expected[i][2][0], \
                         "Line %d != %d" % (token.pos[0], expected[i][2][0])
-                    assert token.pos[1] == expected[i][2][1],
+                    assert token.pos[1] == expected[i][2][1], \
                         "Col %d != %d" % (token.pos[1], expected[i][2][1])
 
             i += 1