Commit ee44314f authored by Benjamin Peterson's avatar Benjamin Peterson

this is why tests are great

parent efa3cf84
...@@ -1497,7 +1497,7 @@ class SafeTransport(Transport): ...@@ -1497,7 +1497,7 @@ class SafeTransport(Transport):
) )
else: else:
chost, self._extra_headers, x509 = self.get_host_info(host) chost, self._extra_headers, x509 = self.get_host_info(host)
self._connection = host, HTTPS(chost, None, context=context, **(x509 or {})) self._connection = host, HTTPS(chost, None, context=self.context, **(x509 or {}))
return self._connection[1] return self._connection[1]
## ##
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment