From patchwork Tue Feb 27 12:57:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D2480: py3: use print as a function in tests/test-hgrc.t From: phabricator X-Patchwork-Id: 28459 Message-Id: <0acbdeee70f95fab0f07e85ec23003e0@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Tue, 27 Feb 2018 12:57:38 +0000 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 To: pulkit, #hg-reviewers Cc: mercurial-devel 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