diff tests/test-filebranch.t @ 33721:24849d53697d

tests: clean up many print statements to be print functions instead Differential Revision: https://phab.mercurial-scm.org/D294
author Augie Fackler <augie@google.com>
date Thu, 15 Jun 2017 14:22:25 -0400
parents 2428e8ec0793
children eb586ed5d8ce
line wrap: on
line diff
--- a/tests/test-filebranch.t	Thu Jun 15 13:32:32 2017 -0400
+++ b/tests/test-filebranch.t	Thu Jun 15 14:22:25 2017 -0400
@@ -2,8 +2,9 @@
 when we do a merge.
 
   $ cat <<EOF > merge
+  > from __future__ import print_function
   > import sys, os
-  > print "merging for", os.path.basename(sys.argv[1])
+  > print("merging for", os.path.basename(sys.argv[1]))
   > EOF
   $ HGMERGE="$PYTHON ../merge"; export HGMERGE