[Python-3000-checkins] r63455 - python/branches/py3k/Lib/test/test_weakset.py
Brett Cannon
brett at python.org
Sun May 18 22:00:43 CEST 2008
I am getting a failure on OS X because test_c_api does not exist for weaksets.
On Sun, May 18, 2008 at 10:10 AM, georg.brandl
<python-3000-checkins at python.org> wrote:
> 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)
> _______________________________________________
> Python-3000-checkins mailing list
> Python-3000-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-3000-checkins
>
More information about the Python-3000-checkins
mailing list