This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: recent test_httplib change uses network
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: jhylton Nosy List: jhylton, rhettinger, staschuk
Priority: normal Keywords:

Created on 2003-07-01 17:22 by staschuk, last changed 2022-04-10 16:09 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
head-request-test.patch staschuk, 2003-07-02 22:31
Messages (4)
msg16777 - (view) Author: Steven Taschuk (staschuk) Date: 2003-07-01 17:22
The 1.11 revision of test_httplib.py accesses 
www.python.org.

The simplest fix is simply to add requires('network'), but the 
right fix imho is to mock the connection properly.  I don't 
have a patch yet.
msg16778 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2003-07-02 04:02
Logged In: YES 
user_id=80475

Jeremy authored rev 1.11.
msg16779 - (view) Author: Steven Taschuk (staschuk) Date: 2003-07-02 22:31
Logged In: YES 
user_id=666873

Attached a patch to make the test tickle bug 622042 as desired 
but not access www.python.org or otherwise require the network 
resource.
msg16780 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2003-07-08 12:37
Logged In: YES 
user_id=31392

Fixed in rev 1.12 of test_httplib.py.
History
Date User Action Args
2022-04-10 16:09:35adminsetgithub: 38761
2003-07-01 17:22:12staschukcreate