--- a/tests/test-ui-verbosity.py Tue Mar 29 16:23:40 2016 +0530
+++ b/tests/test-ui-verbosity.py Tue Mar 29 16:27:01 2016 +0530
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
import os
from mercurial import ui
@@ -6,8 +8,8 @@
basehgrc = f.read()
f.close()
-print ' hgrc settings command line options final result '
-print ' quiet verbo debug quiet verbo debug quiet verbo debug'
+print(' hgrc settings command line options final result ')
+print(' quiet verbo debug quiet verbo debug quiet verbo debug')
for i in xrange(64):
hgrc_quiet = bool(i & 1<<0)
@@ -41,7 +43,7 @@
elif u.verbose and u.quiet:
check = ' +'
- print ('%2d %5s %5s %5s %5s %5s %5s -> %5s %5s %5s%s'
+ print(('%2d %5s %5s %5s %5s %5s %5s -> %5s %5s %5s%s'
% (i, hgrc_quiet, hgrc_verbose, hgrc_debug,
cmd_quiet, cmd_verbose, cmd_debug,
- u.quiet, u.verbose, u.debugflag, check))
+ u.quiet, u.verbose, u.debugflag, check)))