fix failing test
This commit is contained in:
parent
2e56ccfe19
commit
dbff375c54
|
@ -38,7 +38,7 @@ public class BasePython2Test extends BasePythonTest {
|
||||||
+ " lexer = <lexerName>(input, output)\n"
|
+ " lexer = <lexerName>(input, output)\n"
|
||||||
+ " stream = CommonTokenStream(lexer)\n"
|
+ " stream = CommonTokenStream(lexer)\n"
|
||||||
+ " stream.fill()\n"
|
+ " stream.fill()\n"
|
||||||
+ " [ print(t, file=output) for t in stream.tokens ]\n"
|
+ " [ print(unicode(t), file=output) for t in stream.tokens ]\n"
|
||||||
+ (showDFA ? " print(lexer._interp.decisionToDFA[Lexer.DEFAULT_MODE].toLexerString(), end='', file=output)\n"
|
+ (showDFA ? " print(lexer._interp.decisionToDFA[Lexer.DEFAULT_MODE].toLexerString(), end='', file=output)\n"
|
||||||
: "") + "\n" + "if __name__ == '__main__':\n"
|
: "") + "\n" + "if __name__ == '__main__':\n"
|
||||||
+ " main(sys.argv)\n" + "\n");
|
+ " main(sys.argv)\n" + "\n");
|
||||||
|
|
Loading…
Reference in New Issue