The initial patch #468662 was not applied quite verbatim. This should one

will fix the remaining Jython issues.

This closes patch "[ #490411 ] Jython and test_grammar.py".
This commit is contained in:
Finn Bock 2001-12-09 09:12:34 +00:00
parent ada1983950
commit 4ab7adbd94
1 changed files with 2 additions and 1 deletions

View File

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