Comments
Patch
@@ -7,7 +7,7 @@
# seq START STOP [START, STOP] stepping by 1
# seq START STEP STOP [START, STOP] stepping by STEP
-from __future__ import absolute_import
+from __future__ import absolute_import, print_function
import sys
start = 1
@@ -21,4 +21,4 @@
stop = int(sys.argv[-1]) + 1
for i in xrange(start, stop, step):
- print i
+ print(i)
@@ -56,7 +56,6 @@
tests/readlink.py requires print_function
tests/revlog-formatv0.py not using absolute_import
tests/run-tests.py not using absolute_import
- tests/seq.py requires print_function
tests/silenttestrunner.py not using absolute_import
tests/silenttestrunner.py requires print_function
tests/sitecustomize.py not using absolute_import
@@ -276,7 +275,6 @@
tests/generate-working-copy-states.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
tests/get-with-headers.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
- tests/seq.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
tests/silenttestrunner.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
tests/test-ancestor.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
tests/test-batching.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)