summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_descr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index d7a0644..30b0481 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -1374,7 +1374,7 @@ def weakrefs():
try:
weakref.ref(no)
except TypeError, msg:
- verify(str(msg).find("weakly") >= 0)
+ verify(str(msg).find("weak reference") >= 0)
else:
verify(0, "weakref.ref(no) should be illegal")
class Weak(object):