D2334: py3: use print as a function in test-mq-push-fail.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Feb 18 13:31:35 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/D2334
AFFECTED FILES
tests/test-mq-qpush-fail.t
CHANGE DETAILS
diff --git a/tests/test-mq-qpush-fail.t b/tests/test-mq-qpush-fail.t
--- a/tests/test-mq-qpush-fail.t
+++ b/tests/test-mq-qpush-fail.t
@@ -31,7 +31,7 @@
popping patch2
popping patch1
patch queue now empty
- $ $PYTHON -c 'print "\xe9"' > message
+ $ $PYTHON -c 'from __future__ import print_function; print("\xe9")' > message
$ cat .hg/patches/bad-patch >> message
$ mv message .hg/patches/bad-patch
$ cat > $TESTTMP/wrapplayback.py <<EOF
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list