summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-11-23 11:52:46 -0600
committerBenjamin Peterson <benjamin@python.org>2014-11-23 11:52:46 -0600
commit4e4a16eaba3d7663b1678991a49754997b332a52 (patch)
treeb85ce77159462a935c2c3a7a5c91c91f8692a66b
parentb3ee47e1facca813735c711063e5de5091929f71 (diff)
downloadcpython-4e4a16eaba3d7663b1678991a49754997b332a52.tar.gz
remove py3k warning guard
-rw-r--r--Lib/test/test_ssl.py3
1 files changed, 1 insertions, 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):