diff options
author | Guido van Rossum <guido@python.org> | 2006-04-21 09:17:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-04-21 09:17:15 (GMT) |
commit | d858f70617a9df8456e89a898ad8f97bd57c09f9 (patch) | |
tree | 9155d65b30ec151120114cae5a15fc1cd8ce0b3b /Lib | |
parent | 303de6a25b4dc4874eded29c34c719a3bd6a4f40 (diff) | |
download | cpython-d858f70617a9df8456e89a898ad8f97bd57c09f9.zip cpython-d858f70617a9df8456e89a898ad8f97bd57c09f9.tar.gz cpython-d858f70617a9df8456e89a898ad8f97bd57c09f9.tar.bz2 |
Fix the problems in this test. Boy this is a painful thing to debug --
it's fundamentally unmaintainable. Should we throw away pyclbr, or rewrite
it using the AST?
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_pyclbr.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_pyclbr.py b/Lib/test/test_pyclbr.py index ceb7a3d..0eb7d90 100644 --- a/Lib/test/test_pyclbr.py +++ b/Lib/test/test_pyclbr.py @@ -57,6 +57,8 @@ class PyclbrTest(TestCase): ignore are ignored. If no module is provided, the appropriate module is loaded with __import__.''' + ignore = set(ignore) | set(['object']) + if module == None: # Import it. # ('<silly>' is to work around an API silliness in __import__) @@ -164,7 +166,7 @@ class PyclbrTest(TestCase): 'getproxies_internetconfig',)) # not on all platforms cm('pickle') cm('aifc', ignore=('openfp',)) # set with = in module - cm('Cookie') + cm('Cookie', ignore=('Cookie',)) # Cookie is an alias for SmartCookie cm('sre_parse', ignore=('dump',)) # from sre_constants import * cm('pdb') cm('pydoc') |