summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_weakset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_weakset.py b/Lib/test/test_weakset.py
index ee30d92..7f5b8eb 100644
--- a/Lib/test/test_weakset.py
+++ b/Lib/test/test_weakset.py
@@ -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)