summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@worldonline.dk>2001-12-09 09:12:34 (GMT)
committerFinn Bock <bckfnn@worldonline.dk>2001-12-09 09:12:34 (GMT)
commit4ab7adbd944c72b9f308e940524ca31a10e52bd8 (patch)
treea5ca647dffd097a73ec7b7701f160b26395402d9 /Lib/test
parentada1983950395e640020535513eb086b6314f0f2 (diff)
downloadcpython-4ab7adbd944c72b9f308e940524ca31a10e52bd8.zip
cpython-4ab7adbd944c72b9f308e940524ca31a10e52bd8.tar.gz
cpython-4ab7adbd944c72b9f308e940524ca31a10e52bd8.tar.bz2
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')
-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 da3dad5..bb843fb 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: