WildCard65 <lollol22...@gmail.com> added the comment: I believe I found the issue, might be an issue between sending the request + calling get_response() and the time it takes for server to process response, my print cases:
test_err (test.test_httpservers.RequestHandlerLoggingTestCase) ... Creating a new connection to 127.0.0.1:50141 Connecting to server Sending ERROR request, captured stderr instance is <_io.StringIO object at 0x05E5EC00> HANDLING AN ERROR REQUEST! SENDING RESPONSE! Request sent, starting to read response <http.client.HTTPResponse object at 0x05E6D7E0> RESPONSE SENT! Response obtained, err should be set, <_io.StringIO object at 0x05E5EC00> Running test's assert ok test_get (test.test_httpservers.RequestHandlerLoggingTestCase) ... Creating a new connection to 127.0.0.1:50143 Connecting to server Sending GET request, captured stderr instance is <_io.StringIO object at 0x05E5EC00> Request sent, starting to read response HANDLING A GET REQUEST! SENDING RESPONSE! RESPONSE SENT! ENDING HEADERS! HEADERS ENDED! ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue25095> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com