Index: Lib/test/test_urllib2net.py =================================================================== --- Lib/test/test_urllib2net.py (revision 66111) +++ Lib/test/test_urllib2net.py (working copy) @@ -201,6 +201,13 @@ u = _urlopen_with_retry("http://www.python.org") self.assertTrue(u.fp._sock.fp._sock.gettimeout() is None) + def test_proxy_https_basic(self): + HTTPS_URL = 'https://bugzilla.mozilla.org' + self.assertTrue(socket.getdefaulttimeout() is None) + u = _urlopen_with_retry(HTTPS_URL) + self.assertTrue(u.fp._sock.fp._sock.gettimeout() is None) + + def test_http_default_timeout(self): self.assertTrue(socket.getdefaulttimeout() is None) socket.setdefaulttimeout(60)