From fa11978f1b14ca5dbbf83c3e0152d4bfa029bf35 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Thu, 5 Feb 2015 17:19:11 +1100 Subject: 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 6c342d8..e9e80ee 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -275,7 +275,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 494a386..433ce0d 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -92,6 +92,9 @@ Tools/Demos - 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 ----- -- cgit v0.12