D3278: py3: use print as a function in test-convert-git.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Apr 12 12:06:50 UTC 2018
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
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
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list