[Python-checkins] cpython (3.4): Issue #23345: Prevent test_ssl failures with large OpenSSL patch level

ned.deily python-checkins at python.org
Thu Feb 5 07:25:47 CET 2015


https://hg.python.org/cpython/rev/52932cd7f003
changeset:   94513:52932cd7f003
branch:      3.4
parent:      94508:625798e94b14
user:        Ned Deily <nad at acm.org>
date:        Thu Feb 05 17:20:13 2015 +1100
summary:
  Issue #23345: Prevent test_ssl failures with large OpenSSL patch level
values (like 0.9.8zc).

files:
  Lib/test/test_ssl.py |  2 +-
  Misc/NEWS            |  3 +++
  2 files changed, 4 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
@@ -292,7 +292,7 @@
         self.assertGreaterEqual(fix, 0)
         self.assertLess(fix, 256)
         self.assertGreaterEqual(patch, 0)
-        self.assertLessEqual(patch, 26)
+        self.assertLessEqual(patch, 63)
         self.assertGreaterEqual(status, 0)
         self.assertLessEqual(status, 15)
         # Version string as returned by {Open,Libre}SSL, the format might change
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -340,6 +340,9 @@
 
 - Issue #23211: Workaround test_logging failure on some OS X 10.6 systems.
 
+- Issue #23345: Prevent test_ssl failures with large OpenSSL patch level
+  values (like 0.9.8zc).
+
 Build
 -----
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list