summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_weakset.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_weakset.py b/Lib/test/test_weakset.py
index 22ac9af..ee30d92 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)