# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1519723145 -19800 # 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 -r 580f75f70f39 -r 432b85a46717 tests/test-hgrc.t --- 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