tests/test-revert.t
changeset 39740 e0a7cfa9323f
parent 39707 5abc47d4ca6b
child 41591 4d4842445afc
--- a/tests/test-revert.t	Wed Sep 19 23:11:07 2018 +0900
+++ b/tests/test-revert.t	Fri Sep 21 03:16:38 2018 +0530
@@ -532,6 +532,7 @@
 
   $ cat << EOF >> dircontent.py
   > # generate a simple text view of the directory for easy comparison
+  > from __future__ import print_function
   > import os
   > files = os.listdir('.')
   > files.sort()
@@ -539,7 +540,7 @@
   >     if os.path.isdir(filename):
   >         continue
   >     content = open(filename).read()
-  >     print '%-6s %s' % (content.strip(), filename)
+  >     print('%-6s %s' % (content.strip(), filename))
   > EOF
 
 Generate appropriate repo state