diff options
author | Georg Brandl <georg@python.org> | 2008-05-18 21:04:46 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-18 21:04:46 (GMT) |
commit | 02c0bbbe6d36b848f5992db9319a15775f99f3dc (patch) | |
tree | aad6451a767755f425b6f8568407f94c0c32e9f6 /Lib | |
parent | 192197064b1014a70a1d2144f6f523fa752d20c5 (diff) | |
download | cpython-02c0bbbe6d36b848f5992db9319a15775f99f3dc.zip cpython-02c0bbbe6d36b848f5992db9319a15775f99f3dc.tar.gz cpython-02c0bbbe6d36b848f5992db9319a15775f99f3dc.tar.bz2 |
Ignore test_c_api when checking for set methods. Thanks Brett!
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_weakset.py | 2 |
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) |