# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-02-27 09:19:05 # Node ID 432b85a46717b6852b4550e210c72b21a67012ec # Parent 580f75f70f399cb6e34880cee3d8087edc5d2fb0 py3: use print as a function in tests/test-hgrc.t print was made a function in Python 3. Differential Revision: https://phab.mercurial-scm.org/D2480 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 @@ issue1829: wrong indentation 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