From: Georg Brandl Date: Sun, 18 May 2008 17:10:40 +0000 (+0000) Subject: Better diagnostic. X-Git-Tag: v3.0b1~277 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=192197064b1014a70a1d2144f6f523fa752d20c5;p=python Better diagnostic. --- diff --git a/Lib/test/test_weakset.py b/Lib/test/test_weakset.py index 22ac9afe16..ee30d92c47 100644 --- a/Lib/test/test_weakset.py +++ b/Lib/test/test_weakset.py @@ -33,7 +33,8 @@ class TestWeakSet(unittest.TestCase): for method in dir(set): if method.startswith('_'): continue - self.assert_(method in weaksetmethods) + self.assert_(method in weaksetmethods, + "WeakSet missing method " + method) def test_new_or_init(self): self.assertRaises(TypeError, WeakSet, [], 2)