]> granicus.if.org Git - python/commitdiff
remove py3k warning guard
authorBenjamin Peterson <benjamin@python.org>
Sun, 23 Nov 2014 17:52:46 +0000 (11:52 -0600)
committerBenjamin Peterson <benjamin@python.org>
Sun, 23 Nov 2014 17:52:46 +0000 (11:52 -0600)
Lib/test/test_ssl.py

index 36a195eee9cd27f5ab12a909ef0991b31d588bf9..39aa17c09feb160a8389fa590e1e8fc90aa565bb 100644 (file)
@@ -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):