Fixed #27251: merged fix from 3.5.

This commit is contained in:
Vinay Sajip 2016-06-07 21:20:39 +01:00
commit 24a72ca239
2 changed files with 4 additions and 3 deletions

View file

@ -1672,7 +1672,8 @@ class HTTPHandlerTest(BaseTest):
secure_client = secure and sslctx
self.h_hdlr = logging.handlers.HTTPHandler(host, '/frob',
secure=secure_client,
context=context)
context=context,
credentials=('foo', 'bar'))
self.log_data = None
root_logger.addHandler(self.h_hdlr)