tests/test-duplicateoptions.py
changeset 28740 e8ecd1aa3f6c
parent 28739 d289b8847f23
child 28804 ce49c8d4f0bb
--- a/tests/test-duplicateoptions.py	Sun Apr 03 16:56:15 2016 +0300
+++ b/tests/test-duplicateoptions.py	Sun Apr 03 16:58:43 2016 +0300
@@ -1,4 +1,4 @@
-from __future__ import absolute_import
+from __future__ import absolute_import, print_function
 import os
 from mercurial import (
     commands,
@@ -36,6 +36,6 @@
     for option in entry[1]:
         if (option[0] and option[0] in seenshort) or \
            (option[1] and option[1] in seenlong):
-            print "command '" + cmd + "' has duplicate option " + str(option)
+            print("command '" + cmd + "' has duplicate option " + str(option))
         seenshort.add(option[0])
         seenlong.add(option[1])