[Python-checkins] python/dist/src/Lib/test test_descr.py,1.145,1.146
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Thu, 11 Jul 2002 00:09:44 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv2288/python/Lib/test
Modified Files:
test_descr.py
Log Message:
Repaired optimistic comment in new test.
Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descr.py,v
retrieving revision 1.145
retrieving revision 1.146
diff -C2 -d -r1.145 -r1.146
*** test_descr.py 11 Jul 2002 06:56:07 -0000 1.145
--- test_descr.py 11 Jul 2002 07:09:42 -0000 1.146
***************
*** 3186,3190 ****
def subtype_resurrection():
if verbose:
! print "Testing resurrection of new-style instance."
class C(object):
--- 3186,3190 ----
def subtype_resurrection():
if verbose:
! print "Testing resurrection of new-style instance..."
class C(object):
***************
*** 3197,3203 ****
c = C()
c.attr = 42
! # The only interesting thing here is whether this blows up in a
! # debug build, due to flawed GC tracking logic in typeobject.c's
! # call_finalizer() (a 2.2.1 bug).
del c
del C.container[-1] # resurrect it again for the heck of it
--- 3197,3202 ----
c = C()
c.attr = 42
! # The only interesting thing here is whether this blows up, due to flawed
! # GC tracking logic in typeobject.c's call_finalizer() (a 2.2.1 bug).
del c
del C.container[-1] # resurrect it again for the heck of it