[Python-checkins] cpython (2.7): 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/49f07942fbd7
changeset: 94512:49f07942fbd7
branch: 2.7
user: Ned Deily <nad at acm.org>
date: Thu Feb 05 17:19:11 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
@@ -275,7 +275,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
@@ -92,6 +92,9 @@
 - Issue #18905: "pydoc -p 0" now outputs actually used port. Based on patch by
 Wieland Hoffmann.
 
+- Issue #23345: Prevent test_ssl failures with large OpenSSL patch level
+ values (like 0.9.8zc).
+
 Tests
 -----
 
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /