mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
test_ssl: add more debug to investigate test_openssl_version() failure on
OpenBSD with LibreSSL.
This commit is contained in:
parent
4908f7158f
commit
789b805700
1 changed files with 2 additions and 2 deletions
|
@ -312,10 +312,10 @@ class BasicSocketTests(unittest.TestCase):
|
||||||
# Version string as returned by {Open,Libre}SSL, the format might change
|
# Version string as returned by {Open,Libre}SSL, the format might change
|
||||||
if "LibreSSL" in s:
|
if "LibreSSL" in s:
|
||||||
self.assertTrue(s.startswith("LibreSSL {:d}.{:d}".format(major, minor)),
|
self.assertTrue(s.startswith("LibreSSL {:d}.{:d}".format(major, minor)),
|
||||||
(s, t))
|
(s, t, hex(n)))
|
||||||
else:
|
else:
|
||||||
self.assertTrue(s.startswith("OpenSSL {:d}.{:d}.{:d}".format(major, minor, fix)),
|
self.assertTrue(s.startswith("OpenSSL {:d}.{:d}.{:d}".format(major, minor, fix)),
|
||||||
(s, t))
|
(s, t, hex(n)))
|
||||||
|
|
||||||
@support.cpython_only
|
@support.cpython_only
|
||||||
def test_refcycle(self):
|
def test_refcycle(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue