by HTTPS connections that time out.
print "didn't raise TypeError"
socket.RAND_add("this is a random string", 75.0)
- f = urllib.urlopen('https://sf.net')
+ try:
+ f = urllib.urlopen('https://sf.net')
+ except IOError, exc:
+ if exc.errno == errno.ETIMEDOUT:
+ raise test_support.ResourceDenied('HTTPS connection is timing out')
+ else:
+ raise
buf = f.read()
f.close()
Tests
-----
+- Cause test.test_socket_ssl:test_basic to raise
+ test.test_support.ResourceDenied when an HTTPS connection times out.
+
- Remove passwd.adjunct.byname from list of maps
for test_nis.