diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-10-03 04:08:26 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-10-03 04:08:26 (GMT) |
commit | 17111f3b242be06c7ae913f106093891b82d7fee (patch) | |
tree | bdfdd1b714cc7f53935c5e2337d1e94615db882a /Lib/test/test_pyclbr.py | |
parent | f49a91340a22d89bea4f0566500d5f954f35c744 (diff) | |
download | cpython-17111f3b242be06c7ae913f106093891b82d7fee.zip cpython-17111f3b242be06c7ae913f106093891b82d7fee.tar.gz cpython-17111f3b242be06c7ae913f106093891b82d7fee.tar.bz2 |
SF bug [#467336] doctest failures w/ new-style classes.
Taught doctest about static methods, class methods, and property docstrings
in new-style classes. As for inspect.py/pydoc.py before it, the new stuff
needed didn't really fit into the old architecture (but was less of a
strain to force-fit here).
New-style class docstrings still aren't found, but that's the subject
of a different bug and I want to fix that right instead of hacking around
it in doctest.
Diffstat (limited to 'Lib/test/test_pyclbr.py')
-rw-r--r-- | Lib/test/test_pyclbr.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_pyclbr.py b/Lib/test/test_pyclbr.py index fdb3ddf..1a241cf 100644 --- a/Lib/test/test_pyclbr.py +++ b/Lib/test/test_pyclbr.py @@ -101,7 +101,10 @@ class PyclbrTest(unittest.TestCase): def test_easy(self): self.checkModule('pyclbr') self.checkModule('doctest', - ignore=['_isclass', '_isfunction', '_ismodule']) + ignore=['_isclass', + '_isfunction', + '_ismodule', + '_classify_class_attrs']) self.checkModule('rfc822') self.checkModule('xmllib') self.checkModule('difflib') |