[issue2001] Pydoc interactive browsing enhancement

Ron Adam rrr at ronadam.com
Fri Nov 19 18:05:47 CET 2010



On 11/19/2010 08:21 AM, Alexander Belopolsky wrote:
>
> Alexander Belopolsky<belopolsky at users.sourceforge.net>  added the comment:
>
> On Thu, Nov 18, 2010 at 2:37 AM, Ron Adam<report at bugs.python.org>  wrote:
> ..
>> I'll try reading and writing directly to the socket and working up some tests from that.
>> I don't suppose there's something like that already in the test suite I can copy?
>
> I believe you can find relevant code in test/test_httpservers.py.

Thanks I'll check it out.

> What I had in mind was simpler:test_pydoc already checks html output
> for a module, but this test did not fail after I applied your patch.

When I put the old server and gui() function back the existing tests passed 
with changes.  Which is good.  Also the old tests didn't actually test the 
server and the tk interface.

> There should be something in the tests that checks that the new
> navigation bar is generated correctly.

I'm going to work on this today.



More information about the Python-bugs-list mailing list