Show More
@@ -116,7 +116,6 b'' | |||||
116 | tests/test-url.py not using absolute_import |
|
116 | tests/test-url.py not using absolute_import | |
117 | tests/test-url.py requires print_function |
|
117 | tests/test-url.py requires print_function | |
118 | tests/test-walkrepo.py requires print_function |
|
118 | tests/test-walkrepo.py requires print_function | |
119 | tests/test-wireproto.py requires print_function |
|
|||
120 |
|
119 | |||
121 | #if py3exe |
|
120 | #if py3exe | |
122 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py |
|
121 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py | |
@@ -301,6 +300,5 b'' | |||||
301 | tests/test-ui-config.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
300 | tests/test-ui-config.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
302 | tests/test-ui-verbosity.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
301 | tests/test-ui-verbosity.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
303 | tests/test-walkrepo.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
302 | tests/test-walkrepo.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
304 | tests/test-wireproto.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
|||
305 |
|
303 | |||
306 | #endif |
|
304 | #endif |
@@ -1,4 +1,4 b'' | |||||
1 | from __future__ import absolute_import |
|
1 | from __future__ import absolute_import, print_function | |
2 |
|
2 | |||
3 | import StringIO |
|
3 | import StringIO | |
4 |
|
4 | |||
@@ -52,8 +52,8 b" wireproto.commands['greet'] = (greet, 'n" | |||||
52 | srv = serverrepo() |
|
52 | srv = serverrepo() | |
53 | clt = clientpeer(srv) |
|
53 | clt = clientpeer(srv) | |
54 |
|
54 | |||
55 |
print |
|
55 | print(clt.greet("Foobar")) | |
56 | b = clt.batch() |
|
56 | b = clt.batch() | |
57 | fs = [b.greet(s) for s in ["Fo, =;:<o", "Bar"]] |
|
57 | fs = [b.greet(s) for s in ["Fo, =;:<o", "Bar"]] | |
58 | b.submit() |
|
58 | b.submit() | |
59 |
print |
|
59 | print([f.value for f in fs]) |
General Comments 0
You need to be logged in to leave comments.
Login now