From 05784a706e294f51ca69bfaa89d0a6b92f48882a Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Thu, 5 Feb 2015 17:20:13 +1100 Subject: [PATCH] Issue #23345: Prevent test_ssl failures with large OpenSSL patch level values (like 0.9.8zc). --- Lib/test/test_ssl.py | 2 +- Misc/NEWS | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 0a7b905073c..dc82475a9d0 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -292,7 +292,7 @@ class BasicSocketTests(unittest.TestCase): 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 index 6d58e8b8658..663cc53a266 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -340,6 +340,9 @@ Tests - 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 -----