# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-04-12 09:33:15 # Node ID 1c3c9211a40e2482f8fca060c5638a90b17e22bc # Parent ce566e0f73d07ca2e5a415b98545b325ac3f2e92 py3: use print as a function in test-convert-git.t Differential Revision: https://phab.mercurial-scm.org/D3278 diff --git a/tests/test-convert-git.t b/tests/test-convert-git.t --- a/tests/test-convert-git.t +++ b/tests/test-convert-git.t @@ -437,7 +437,7 @@ convert binary file $ 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 ..