]> granicus.if.org Git - python/commit
SF bug [#467336] doctest failures w/ new-style classes.
authorTim Peters <tim.peters@gmail.com>
Wed, 3 Oct 2001 04:08:26 +0000 (04:08 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 3 Oct 2001 04:08:26 +0000 (04:08 +0000)
commit17111f3b242be06c7ae913f106093891b82d7fee
treebdfdd1b714cc7f53935c5e2337d1e94615db882a
parentf49a91340a22d89bea4f0566500d5f954f35c744
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.
Lib/doctest.py
Lib/test/test_doctest2.py [new file with mode: 0644]
Lib/test/test_pyclbr.py
Lib/test/test_support.py