[issue1883] Adapt pydoc to new doc system
Humberto Diogenes
report at bugs.python.org
Thu Apr 24 08:47:20 CEST 2008
Humberto Diogenes <humberto at digi.com.br> added the comment:
It looks like there are no automated tests for pydoc; it's even listed in test_sundry.py.
There's only one file Lib/test/pydocfodder.py which defines "Something just to look at
via pydoc", but isn't used anywhere (I grepped and found nothing).
I've attached a patch just to document one point where pydoc behavior differs from 2.5 to
3.0: describe() used to return 'instance of ClassX', now it returns only 'ClassX' (which
means this test will pass in 2.5 but not in 3.0).
Functions main and test_main were copied from test_modulefinder.
----------
keywords: +patch
nosy: +hdiogenes
Added file: http://bugs.python.org/file10082/py3k-test_pydoc.patch
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1883>
__________________________________
More information about the Python-bugs-list
mailing list