diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 1768e8b36db..c68de1045f1 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -1489,6 +1489,7 @@ class HTTPHandlerTest(BaseTest): except: self.post_data = None request.send_response(200) + request.end_headers() self.handled.set() def test_output(self):