D5701: tests: add b'' when testing for tls1.2
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Jan 25 21:17:28 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd33419330c79: tests: add b'' when testing for tls1.2 (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5701?vs=13470&id=13479
REVISION DETAIL
https://phab.mercurial-scm.org/D5701
AFFECTED FILES
tests/hghave.py
CHANGE DETAILS
diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -543,7 +543,7 @@
@check("tls1.2", "TLS 1.2 protocol support")
def has_tls1_2():
from mercurial import sslutil
- return 'tls1.2' in sslutil.supportedprotocols
+ return b'tls1.2' in sslutil.supportedprotocols
@check("windows", "Windows")
def has_windows():
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list