From 789b80570069143db8caab5339a56c65212336fe Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 6 Jan 2015 11:51:06 +0100 Subject: test_ssl: add more debug to investigate test_openssl_version() failure on OpenBSD with LibreSSL. --- Lib/test/test_ssl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 7362bac..3bb9819 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -312,10 +312,10 @@ class BasicSocketTests(unittest.TestCase): # Version string as returned by {Open,Libre}SSL, the format might change if "LibreSSL" in s: self.assertTrue(s.startswith("LibreSSL {:d}.{:d}".format(major, minor)), - (s, t)) + (s, t, hex(n))) else: self.assertTrue(s.startswith("OpenSSL {:d}.{:d}.{:d}".format(major, minor, fix)), - (s, t)) + (s, t, hex(n))) @support.cpython_only def test_refcycle(self): -- cgit v0.12