[Python-3000-checkins] r63455 - python/branches/py3k/Lib/test/test_weakset.py
georg.brandl
python-3000-checkins at python.org
Sun May 18 19:10:40 CEST 2008
Author: georg.brandl
Date: Sun May 18 19:10:40 2008
New Revision: 63455
Log:
Better diagnostic.
Modified:
python/branches/py3k/Lib/test/test_weakset.py
Modified: python/branches/py3k/Lib/test/test_weakset.py
==============================================================================
--- python/branches/py3k/Lib/test/test_weakset.py (original)
+++ python/branches/py3k/Lib/test/test_weakset.py Sun May 18 19:10:40 2008
@@ -33,7 +33,8 @@
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)
More information about the Python-3000-checkins
mailing list