diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-06 10:51:06 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-06 10:51:06 (GMT) |
commit | 789b80570069143db8caab5339a56c65212336fe (patch) | |
tree | afe417e5eed429166e86dc8f01798a7a50c78134 | |
parent | 4908f7158f7c28f8c43a8ce4073de3b8378c5b51 (diff) | |
download | cpython-789b80570069143db8caab5339a56c65212336fe.zip cpython-789b80570069143db8caab5339a56c65212336fe.tar.gz cpython-789b80570069143db8caab5339a56c65212336fe.tar.bz2 |
test_ssl: add more debug to investigate test_openssl_version() failure on
OpenBSD with LibreSSL.
-rw-r--r-- | Lib/test/test_ssl.py | 4 |
1 files 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): |