From: Benjamin Peterson Date: Sun, 23 Nov 2014 17:52:46 +0000 (-0600) Subject: remove py3k warning guard X-Git-Tag: v2.7.9rc1~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0609ec8f3c5aa0e77ef6ac4b05c592320c1da6e;p=python remove py3k warning guard --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 36a195eee9..39aa17c09f 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -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):