tests/hghave.py
changeset 41381 423a6b2ddafa
parent 41366 fabb0224a599
child 41443 1a6a01a21d6a
--- a/tests/hghave.py	Fri Jan 25 15:15:59 2019 -0800
+++ b/tests/hghave.py	Fri Jan 25 15:21:56 2019 -0800
@@ -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():