changeset 39723:5495ceab5637

py3: use print as a function in tests/test-subrepo-svn.t Differential Revision: https://phab.mercurial-scm.org/D4670
author Pulkit Goyal <pulkit@yandex-team.ru>
date Thu, 20 Sep 2018 17:16:16 +0300
parents 4bd6e444c76f
children e1e10cbb5568
files tests/test-subrepo-svn.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-subrepo-svn.t	Mon Sep 17 17:47:24 2018 +0800
+++ b/tests/test-subrepo-svn.t	Thu Sep 20 17:16:16 2018 +0300
@@ -247,7 +247,7 @@
 
 verify subrepo is contained within the repo directory
 
-  $ "$PYTHON" -c "import os.path; print os.path.exists('s')"
+  $ "$PYTHON" -c "from __future__ import print_function; import os.path; print(os.path.exists('s'))"
   True
 
 update to nullrev (must delete the subrepo)