]> granicus.if.org Git - python/commitdiff
The initial patch #468662 was not applied quite verbatim. This should one
authorFinn Bock <bckfnn@worldonline.dk>
Sun, 9 Dec 2001 09:12:34 +0000 (09:12 +0000)
committerFinn Bock <bckfnn@worldonline.dk>
Sun, 9 Dec 2001 09:12:34 +0000 (09:12 +0000)
will fix the remaining Jython issues.

This closes patch "[ #490411 ] Jython and test_grammar.py".

Lib/test/test_grammar.py

index da3dad529c122bbfab297772a9f169102de3dcfe..bb843fb6246136492dbcfa2394d6f040bc16b1f5 100644 (file)
@@ -152,7 +152,8 @@ verify(f2.func_code.co_varnames == ('one_argument',))
 verify(f3.func_code.co_varnames == ('two', 'arguments'))
 if sys.platform.startswith('java'):
     verify(f4.func_code.co_varnames ==
-           ('two', '(compound, (argument, list))',))
+           ('two', '(compound, (argument, list))', 'compound', 'argument',
+                        'list',))
     verify(f5.func_code.co_varnames ==
            ('(compound, first)', 'two', 'compound', 'first'))
 else: