Issue #23345: Prevent test_ssl failures with large OpenSSL patch level

values (like 0.9.8zc).
This commit is contained in:
Ned Deily 2015-02-05 17:20:13 +11:00
parent ff0fdef6d0
commit 05784a706e
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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
-----