tests/test-patch.t
changeset 33990 b1f75d8e887a
parent 32958 75be14993fda
child 34661 eb586ed5d8ce
--- a/tests/test-patch.t	Tue Aug 22 16:58:57 2017 -0400
+++ b/tests/test-patch.t	Tue Aug 22 16:59:02 2017 -0400
@@ -1,8 +1,9 @@
   $ cat > patchtool.py <<EOF
+  > from __future__ import absolute_import, print_function
   > import sys
-  > print 'Using custom patch'
+  > print('Using custom patch')
   > if '--binary' in sys.argv:
-  >     print '--binary found !'
+  >     print('--binary found !')
   > EOF
 
   $ echo "[ui]" >> $HGRCPATH