# HG changeset patch
# User Augie Fackler <r...@durin42.com>
# Date 1503435542 14400
#      Tue Aug 22 16:59:02 2017 -0400
# Node ID db3b60e3edf8b0bbebeda19ca4caa298e90c429f
# Parent  e02a9d1bc10171bfc47d16a76f4a1677625bc3dd
tests: update test-patch to pass our import checker

diff --git a/tests/test-patch.t b/tests/test-patch.t
--- a/tests/test-patch.t
+++ b/tests/test-patch.t
@@ -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
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to