Martin Panter added the comment:

By “mock the query”, do you mean swap out the socket for a pretend socket 
object? Another option would be to connect to a server on localhost running on 
the background, like I did for the fileno() problem.

Looks like this test_http_basic() was intended to verify that no timeout was 
being used by default.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26757>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to