From: Ned Deily Date: Thu, 5 Feb 2015 06:20:13 +0000 (+1100) Subject: Issue #23345: Prevent test_ssl failures with large OpenSSL patch level X-Git-Tag: v3.4.3rc1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05784a706e294f51ca69bfaa89d0a6b92f48882a;p=python Issue #23345: Prevent test_ssl failures with large OpenSSL patch level values (like 0.9.8zc). --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 0a7b905073..dc82475a9d 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 6d58e8b865..663cc53a26 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 -----