mirror of https://github.com/python/cpython
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:
parent
ada1983950
commit
4ab7adbd94
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue