tests/test-hardlinks.t
changeset 33721 24849d53697d
parent 33427 1bdafe1111ce
child 33958 163b6b7f333c
--- a/tests/test-hardlinks.t	Thu Jun 15 13:32:32 2017 -0400
+++ b/tests/test-hardlinks.t	Thu Jun 15 14:22:25 2017 -0400
@@ -1,11 +1,12 @@
 #require hardlink
 
   $ cat > nlinks.py <<EOF
+  > from __future__ import print_function
   > import sys
   > from mercurial import util
   > for f in sorted(sys.stdin.readlines()):
   >     f = f[:-1]
-  >     print util.nlinks(f), f
+  >     print(util.nlinks(f), f)
   > EOF
 
   $ nlinksdir()