py3: use print as a function in tests/test-narrow-clone-non-narrow-server.t
Differential Revision: https://phab.mercurial-scm.org/D2892
--- a/tests/test-narrow-clone-non-narrow-server.t Sun Mar 04 16:23:03 2018 -0500
+++ b/tests/test-narrow-clone-non-narrow-server.t Mon Mar 19 00:04:38 2018 +0530
@@ -19,7 +19,7 @@
Verify that narrow is advertised in the bundle2 capabilities:
$ echo hello | hg -R . serve --stdio | \
- > $PYTHON -c "import sys, urllib; print urllib.unquote_plus(list(sys.stdin)[1])" | grep narrow
+ > $PYTHON -c "from __future__ import print_function; import sys, urllib; print(urllib.unquote_plus(list(sys.stdin)[1]))" | grep narrow
narrow=v0
$ cd ..