diff tests/test-subrepo-svn.t @ 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 5abc47d4ca6b
children eb6700e6c5ea
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)