diff tests/hghave.py @ 30372:334632380e22 stable

hghave: fix typo of sslutil.supportedprotocols
author Yuya Nishihara <yuya@tcha.org>
date Tue, 19 Jul 2016 21:16:44 +0900
parents 6cff2ac0ccb9
children 94fb0458a791
line wrap: on
line diff
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -442,7 +442,7 @@
 @check("tls1.2", "TLS 1.2 protocol support")
 def has_tls1_2():
     from mercurial import sslutil
-    return 'tls1.2' in sslutil.supportprotocols
+    return 'tls1.2' in sslutil.supportedprotocols
 
 @check("windows", "Windows")
 def has_windows():