Skip to content
Snippets Groups Projects
Commit 56b1f39d authored by durin42's avatar durin42
Browse files

test-url: move from dict() construction to {} literals

The latter are both faster and more consistent across Python 2 and 3.
parent 2761a791
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
print (a, b)
def cert(cn):
return dict(subject=((('commonName', cn),),))
return {'subject': ((('commonName', cn),),)}
from mercurial.sslutil import _verifycert
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment