[Python-3000-checkins] r63462 - python/branches/py3k/Lib/test/test_weakset.py
georg.brandl
python-3000-checkins at python.org
Sun May 18 23:04:46 CEST 2008
Author: georg.brandl
Date: Sun May 18 23:04:46 2008
New Revision: 63462
Log:
Ignore test_c_api when checking for set methods. Thanks Brett!
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 23:04:46 2008
@@ -31,7 +31,7 @@
def test_methods(self):
weaksetmethods = dir(WeakSet)
for method in dir(set):
- if method.startswith('_'):
+ if method == 'test_c_api' or method.startswith('_'):
continue
self.assert_(method in weaksetmethods,
"WeakSet missing method " + method)
More information about the Python-3000-checkins
mailing list