diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 7362bacbfb16..3bb98193d195 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -312,10 +312,10 @@ def test_openssl_version(self): # 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):