[Python-checkins] CVS: python/dist/src/Lib/test test_grammar.py,1.39,1.40

Finn Bock bckfnn@users.sourceforge.net
Sun, 09 Dec 2001 01:12:38 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv13212

Modified Files:
	test_grammar.py 
Log Message:
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".



Index: test_grammar.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_grammar.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** test_grammar.py	2001/10/10 01:45:02	1.39
--- test_grammar.py	2001/12/09 09:12:34	1.40
***************
*** 153,157 ****
  if sys.platform.startswith('java'):
      verify(f4.func_code.co_varnames ==
!            ('two', '(compound, (argument, list))',))
      verify(f5.func_code.co_varnames ==
             ('(compound, first)', 'two', 'compound', 'first'))
--- 153,158 ----
  if sys.platform.startswith('java'):
      verify(f4.func_code.co_varnames ==
!            ('two', '(compound, (argument, list))', 'compound', 'argument',
!                         'list',))
      verify(f5.func_code.co_varnames ==
             ('(compound, first)', 'two', 'compound', 'first'))