diff options
author | Georg Brandl <georg@python.org> | 2008-05-18 17:10:40 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-18 17:10:40 (GMT) |
commit | 192197064b1014a70a1d2144f6f523fa752d20c5 (patch) | |
tree | 1a112d1fb6f3cff65c5b38e064761fcbb65a9f9d /Lib | |
parent | 9dba5d9764350c9d71be15619995899bcad1ffbd (diff) | |
download | cpython-192197064b1014a70a1d2144f6f523fa752d20c5.zip cpython-192197064b1014a70a1d2144f6f523fa752d20c5.tar.gz cpython-192197064b1014a70a1d2144f6f523fa752d20c5.tar.bz2 |
Better diagnostic.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_weakset.py | 3 |
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) |