##// END OF EJS Templates
py3: make test-url use print_function
Pulkit Goyal -
r28677:2903558a default
parent child Browse files
Show More
@@ -114,7 +114,6 b''
114 tests/test-ui-verbosity.py not using absolute_import
114 tests/test-ui-verbosity.py not using absolute_import
115 tests/test-ui-verbosity.py requires print_function
115 tests/test-ui-verbosity.py requires print_function
116 tests/test-url.py not using absolute_import
116 tests/test-url.py not using absolute_import
117 tests/test-url.py requires print_function
118
117
119 #if py3exe
118 #if py3exe
120 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py
119 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py
@@ -1,8 +1,9 b''
1 from __future__ import print_function
1 import os
2 import os
2
3
3 def check(a, b):
4 def check(a, b):
4 if a != b:
5 if a != b:
5 print (a, b)
6 print((a, b))
6
7
7 def cert(cn):
8 def cert(cn):
8 return {'subject': ((('commonName', cn),),)}
9 return {'subject': ((('commonName', cn),),)}
General Comments 0
You need to be logged in to leave comments. Login now