summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ssl.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-08-25 12:44:27 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-08-25 12:44:27 (GMT)
commita0c8373e32f5d0512f81dc5ff2d55c51321932eb (patch)
tree730e975c1be2a692febe153179f6eea3a9b1fb0c /Lib/test/test_ssl.py
parent8ee5ffddf5bec1549cf9b6afa9d46e799030fdf7 (diff)
downloadcpython-a0c8373e32f5d0512f81dc5ff2d55c51321932eb.zip
cpython-a0c8373e32f5d0512f81dc5ff2d55c51321932eb.tar.gz
cpython-a0c8373e32f5d0512f81dc5ff2d55c51321932eb.tar.bz2
Fix test
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r--Lib/test/test_ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index f5390f6..9c33c8f 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -137,7 +137,7 @@ class BasicSocketTests(unittest.TestCase):
(('emailAddress', 'python-dev@python.org'),))
self.assertEqual(p['subject'], subject)
self.assertEqual(p['issuer'], subject)
- if ssl._OPENSSL_API_VERSION >= (0, 9, 8):
+ if ssl.OPENSSL_VERSION_INFO >= (0, 9, 8):
san = (('DNS', 'altnull.python.org\x00example.com'),
('email', 'null@python.org\x00user@example.org'),
('URI', 'http://null.python.org\x00http://example.org'),