D3278: py3: use print as a function in test-convert-git.t

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Thu Apr 12 11:04:26 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1c3c9211a40e: py3: use print as a function in test-convert-git.t (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3278?vs=8045&id=8057

REVISION DETAIL
  https://phab.mercurial-scm.org/D3278

AFFECTED FILES
  tests/test-convert-git.t

CHANGE DETAILS

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 @@
   $ 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 ..
 



To: pulkit, #hg-reviewers, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list