Humberto Diogenes <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1883>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to