From b0609ec8f3c5aa0e77ef6ac4b05c592320c1da6e Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 23 Nov 2014 11:52:46 -0600 Subject: [PATCH] remove py3k warning guard --- Lib/test/test_ssl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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): -- 2.50.1