[Python-checkins] CVS: python/dist/src/Lib/test test_scope.py,1.1,1.2

Jeremy Hylton jhylton@users.sourceforge.net
Mon, 29 Jan 2001 17:26:55 -0800


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

Modified Files:
	test_scope.py 
Log Message:
Fix test for free ref to global.  This test should have caught a
recently fixed bug, but it checked for the wrong answer.


Index: test_scope.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_scope.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_scope.py	2001/01/25 20:11:23	1.1
--- test_scope.py	2001/01/30 01:26:53	1.2
***************
*** 87,91 ****
  plus10 = make_adder6(10)
  
! verify(inc(1) == 2)
  verify(plus10(-2) == 8)
  
--- 87,91 ----
  plus10 = make_adder6(10)
  
! verify(inc(1) == 11) # there's only one global
  verify(plus10(-2) == 8)