Commit 274bc2bf authored by Benjamin Peterson's avatar Benjamin Peterson

remove py3k warning guard

parent b157fd61
......@@ -2391,8 +2391,7 @@ else:
url = 'https://localhost:%d/%s' % (
server.port, os.path.split(CERTFILE)[1])
context = ssl.create_default_context(cafile=CERTFILE)
with support.check_py3k_warnings():
f = urllib2.urlopen(url, context=context)
f = urllib2.urlopen(url, context=context)
try:
dlen = f.info().getheader("content-length")
if dlen and (int(dlen) > 0):
......
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