[Python-checkins] CVS: python/dist/src/Lib/test test_descr.py,1.13,1.14
Guido van Rossum
gvanrossum@users.sourceforge.net
Thu, 16 Aug 2001 13:41:58 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv14035/Lib/test
Modified Files:
test_descr.py
Log Message:
classobject.c:instancemethod_descr_get(): when a bound method is
assigned to a class variable and then accessed via an instance, it
should not be rebound.
test_descr.py:methods(): test for the condition above.
Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descr.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** test_descr.py 2001/08/16 19:50:51 1.13
--- test_descr.py 2001/08/16 20:41:56 1.14
***************
*** 863,867 ****
verify(d2.foo() == 2)
verify(d2.boo() == 2)
! verify(d2.goo() == 2)
def specials():
--- 863,867 ----
verify(d2.foo() == 2)
verify(d2.boo() == 2)
! verify(d2.goo() == 1)
def specials():