changeset 37580:1c3c9211a40e

py3: use print as a function in test-convert-git.t Differential Revision: https://phab.mercurial-scm.org/D3278
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 12 Apr 2018 15:03:15 +0530
parents ce566e0f73d0
children 5b836a4c9a1f
files tests/test-convert-git.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 ..