Show More
@@ -7,7 +7,7 | |||||
7 | # seq START STOP [START, STOP] stepping by 1 |
|
7 | # seq START STOP [START, STOP] stepping by 1 | |
8 | # seq START STEP STOP [START, STOP] stepping by STEP |
|
8 | # seq START STEP STOP [START, STOP] stepping by STEP | |
9 |
|
9 | |||
10 | from __future__ import absolute_import |
|
10 | from __future__ import absolute_import, print_function | |
11 | import sys |
|
11 | import sys | |
12 |
|
12 | |||
13 | start = 1 |
|
13 | start = 1 | |
@@ -21,4 +21,4 if len(sys.argv) > 3: | |||||
21 | stop = int(sys.argv[-1]) + 1 |
|
21 | stop = int(sys.argv[-1]) + 1 | |
22 |
|
22 | |||
23 | for i in xrange(start, stop, step): |
|
23 | for i in xrange(start, stop, step): | |
24 |
print |
|
24 | print(i) |
@@ -54,7 +54,6 | |||||
54 | tests/readlink.py requires print_function |
|
54 | tests/readlink.py requires print_function | |
55 | tests/revlog-formatv0.py not using absolute_import |
|
55 | tests/revlog-formatv0.py not using absolute_import | |
56 | tests/run-tests.py not using absolute_import |
|
56 | tests/run-tests.py not using absolute_import | |
57 | tests/seq.py requires print_function |
|
|||
58 | tests/silenttestrunner.py not using absolute_import |
|
57 | tests/silenttestrunner.py not using absolute_import | |
59 | tests/silenttestrunner.py requires print_function |
|
58 | tests/silenttestrunner.py requires print_function | |
60 | tests/sitecustomize.py not using absolute_import |
|
59 | tests/sitecustomize.py not using absolute_import | |
@@ -265,7 +264,6 | |||||
265 | tests/generate-working-copy-states.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
264 | tests/generate-working-copy-states.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
266 | tests/get-with-headers.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
265 | tests/get-with-headers.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
267 | tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
266 | tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
268 | tests/seq.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
|||
269 | tests/silenttestrunner.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
267 | tests/silenttestrunner.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
270 | tests/test-ancestor.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
268 | tests/test-ancestor.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
271 | tests/test-batching.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
269 | tests/test-batching.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now