diff --git a/tests/test-url.py b/tests/test-url.py --- a/tests/test-url.py +++ b/tests/test-url.py @@ -5,7 +5,7 @@ def check(a, b): print (a, b) def cert(cn): - return dict(subject=((('commonName', cn),),)) + return {'subject': ((('commonName', cn),),)} from mercurial.sslutil import _verifycert