py3: use print as a function in test-convert-git.t
authorPulkit Goyal <7895pulkit@gmail.com>
Thu, 12 Apr 2018 15:03:15 +0530
changeset 37580 1c3c9211a40e
parent 37579 ce566e0f73d0
child 37581 5b836a4c9a1f
py3: use print as a function in test-convert-git.t Differential Revision: https://phab.mercurial-scm.org/D3278
tests/test-convert-git.t
--- a/tests/test-convert-git.t	Thu Apr 12 14:30:37 2018 +0530
+++ b/tests/test-convert-git.t	Thu Apr 12 15:03:15 2018 +0530
@@ -437,7 +437,7 @@
   $ cd git-repo3-hg
   $ hg up -C
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  $ $PYTHON -c 'print len(open("b", "rb").read())'
+  $ $PYTHON -c 'from __future__ import print_function; print(len(open("b", "rb").read()))'
   4096
   $ cd ..