Commit 02c0bbbe authored by Georg Brandl's avatar Georg Brandl

Ignore test_c_api when checking for set methods. Thanks Brett!

parent 19219706
......@@ -31,7 +31,7 @@ class TestWeakSet(unittest.TestCase):
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment