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.

Author martin.panter
Recipients florin.papa, martin.panter, vstinner, zach.ware
Date 2016-04-15.05:06:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2016-04-15 05:06:02martin.pantersetrecipients: + martin.panter, vstinner, zach.ware, florin.papa
2016-04-15 05:06:02martin.pantersetmessageid: <>
2016-04-15 05:06:02martin.panterlinkissue26757 messages
2016-04-15 05:06:01martin.pantercreate