[Python-checkins] cpython (2.7): Fix test
christian.heimes
python-checkins at python.org
Sun Aug 25 14:44:37 CEST 2013
http://hg.python.org/cpython/rev/2929f7f152f0
changeset: 85381:2929f7f152f0
branch: 2.7
user: Christian Heimes <christian at cheimes.de>
date: Sun Aug 25 14:44:27 2013 +0200
summary:
Fix test
files:
Lib/test/test_ssl.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -137,7 +137,7 @@
(('emailAddress', 'python-dev at 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 at python.org\x00user at example.org'),
('URI', 'http://null.python.org\x00http://example.org'),
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list