How to test urllib|urllib2-using code?

kj at
Thu Nov 5 16:16:49 CET 2009

In <mailman.2633.1257408984.2807.python-list at> "Gabriel Genellina" <gagsl-py2 at> writes:

>En Wed, 04 Nov 2009 10:33:53 -0300, kj < at> escribió:

>> I'm sure I could find
>> some good answers to my question above if I could look at the test
>> suites for urllib and urllib2, but I can't find them anywhere.  In
>> fact, I don't even know what exactly I should be looking for.)
>> Where can I find the equivalent for Python distributions?

>Most of the Python test suite is in the "test" subdirectory below the  
>standard library; on Windows that's c:\PythonNN\Lib\test, on Linux  
>/usr/lib/pythonN.N/test or /usr/local/...

>> dir /s/b test_url*.py

Muy agradecido,


More information about the Python-list mailing list