D2480: py3: use print as a function in tests/test-hgrc.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Tue Feb 27 07:57:38 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG432b85a46717: py3: use print as a function in tests/test-hgrc.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2480?vs=6160&id=6174
REVISION DETAIL
https://phab.mercurial-scm.org/D2480
AFFECTED FILES
tests/test-hgrc.t
CHANGE DETAILS
diff --git a/tests/test-hgrc.t b/tests/test-hgrc.t
--- a/tests/test-hgrc.t
+++ b/tests/test-hgrc.t
@@ -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
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list