Mercurial > hg
diff tests/test-hgrc.t @ 36460:432b85a46717
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
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 27 Feb 2018 14:49:05 +0530 |
parents | 199443c55463 |
children | 0c1b895511b9 |
line wrap: on
line diff
--- 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