How to test urllib|urllib2-using code?
kj
no.email at please.post
Thu Nov 5 10:16:49 EST 2009
In <mailman.2633.1257408984.2807.python-list at python.org> "Gabriel Genellina" <gagsl-py2 at yahoo.com.ar> writes:
>En Wed, 04 Nov 2009 10:33:53 -0300, kj <no.email at please.post> 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
>D:\apps\Python26\Lib\test\test_urllib.py
>D:\apps\Python26\Lib\test\test_urllib2.py
>D:\apps\Python26\Lib\test\test_urllib2net.py
>D:\apps\Python26\Lib\test\test_urllib2_localnet.py
>D:\apps\Python26\Lib\test\test_urllibnet.py
>D:\apps\Python26\Lib\test\test_urlparse.py
Muy agradecido,
kynn
More information about the Python-list
mailing list