tests/test-hgrc.t
changeset 36490 432b85a46717
parent 36447 199443c55463
child 37435 0c1b895511b9
--- a/tests/test-hgrc.t	Tue Feb 27 14:46:35 2018 +0530
+++ b/tests/test-hgrc.t	Tue Feb 27 14:49:05 2018 +0530
@@ -58,7 +58,7 @@
   unexpected leading whitespace
   [255]
 
-  $ $PYTHON -c "print '[foo]\nbar = a\n b\n c \n  de\n fg \nbaz = bif cb \n'" \
+  $ $PYTHON -c "from __future__ import print_function; print('[foo]\nbar = a\n b\n c \n  de\n fg \nbaz = bif cb \n')" \
   > > $HGRC
   $ hg showconfig foo
   foo.bar=a\nb\nc\nde\nfg