summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_descr.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-07-11 07:09:42 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-07-11 07:09:42 (GMT)
commit45228ca827088fea27320d1612e55a2df781b4b0 (patch)
tree9f608c5912c742891285497dea10bc27c5ba05dd /Lib/test/test_descr.py
parent2484aaea15a8fd0bbd5397c58699b2fa773a6aa2 (diff)
downloadcpython-45228ca827088fea27320d1612e55a2df781b4b0.zip
cpython-45228ca827088fea27320d1612e55a2df781b4b0.tar.gz
cpython-45228ca827088fea27320d1612e55a2df781b4b0.tar.bz2
Repaired optimistic comment in new test.
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r--Lib/test/test_descr.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 4069403..bbc6706 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -3185,7 +3185,7 @@ def slices():
def subtype_resurrection():
if verbose:
- print "Testing resurrection of new-style instance."
+ print "Testing resurrection of new-style instance..."
class C(object):
container = []
@@ -3196,9 +3196,8 @@ def subtype_resurrection():
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).
+ # 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
vereq(C.container[-1].attr, 42)