diff tests/test-merge-symlinks.t @ 33747:24849d53697d

tests: clean up many print statements to be print functions instead Differential Revision: https://phab.mercurial-scm.org/D294
author Augie Fackler <augie@google.com>
date Thu, 15 Jun 2017 14:22:25 -0400
parents 75be14993fda
children 00658bb0dfd5
line wrap: on
line diff
--- a/tests/test-merge-symlinks.t	Thu Jun 15 13:32:32 2017 -0400
+++ b/tests/test-merge-symlinks.t	Thu Jun 15 14:22:25 2017 -0400
@@ -1,5 +1,6 @@
   $ cat > echo.py <<EOF
   > #!$PYTHON
+  > from __future__ import print_function
   > import os, sys
   > try:
   >     import msvcrt
@@ -9,7 +10,7 @@
   >     pass
   > 
   > for k in ('HG_FILE', 'HG_MY_ISLINK', 'HG_OTHER_ISLINK', 'HG_BASE_ISLINK'):
-  >     print k, os.environ[k]
+  >     print(k, os.environ[k])
   > EOF
 
 Create 2 heads containing the same file, once as