summaryrefslogtreecommitdiff
path: root/Lib/test/test_grammar.py
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@worldonline.dk>2001-12-09 09:12:34 +0000
committerFinn Bock <bckfnn@worldonline.dk>2001-12-09 09:12:34 +0000
commit9857e28b7c39df95afb969613e4c5c55c58b6740 (patch)
treeac533545d6b9a3c74771856fba621a7e06e42a55 /Lib/test/test_grammar.py
parenta776aeb320523809638cfd7cefb81ebd8e3366a9 (diff)
downloadcpython-9857e28b7c39df95afb969613e4c5c55c58b6740.tar.gz
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".
Diffstat (limited to 'Lib/test/test_grammar.py')
-rw-r--r--Lib/test/test_grammar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py
index da3dad529c..bb843fb624 100644
--- a/Lib/test/test_grammar.py
+++ b/Lib/test/test_grammar.py
@@ -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: