Skip to content
Snippets Groups Projects
Commit 2903558a authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: make test-url use print_function

parent a4803f35
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,6 @@
tests/test-ui-verbosity.py not using absolute_import
tests/test-ui-verbosity.py requires print_function
tests/test-url.py not using absolute_import
tests/test-url.py requires print_function
#if py3exe
$ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py
......
from __future__ import print_function
import os
def check(a, b):
if a != b:
......@@ -1,8 +2,8 @@
import os
def check(a, b):
if a != b:
print (a, b)
print((a, b))
def cert(cn):
return {'subject': ((('commonName', cn),),)}
......
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