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

login
register
mail settings
Submitter phabricator
Date April 12, 2018, 3:04 p.m.
Message ID <718ac203f8f139a120f6a644e0b1035a@localhost.localdomain>
Download mbox | patch
Permalink /patch/30788/
State Not Applicable
Headers show

Comments

phabricator - April 12, 2018, 3:04 p.m.
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




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

Patch

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