changeset 36996:f4c7dc24e889

py3: use print as a function in tests/test-narrow-clone-non-narrow-server.t Differential Revision: https://phab.mercurial-scm.org/D2892
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 19 Mar 2018 00:04:38 +0530
parents ccc2d5f10421
children 0baf0e3ee569
files tests/test-narrow-clone-non-narrow-server.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 ..