Show More
@@ -108,7 +108,6 b'' | |||
|
108 | 108 | tests/test-trusted.py not using absolute_import |
|
109 | 109 | tests/test-trusted.py requires print_function |
|
110 | 110 | tests/test-ui-color.py not using absolute_import |
|
111 | tests/test-ui-color.py requires print_function | |
|
112 | 111 | tests/test-url.py not using absolute_import |
|
113 | 112 | |
|
114 | 113 | #if py3exe |
@@ -290,6 +289,5 b'' | |||
|
290 | 289 | tests/test-revlog-ancestry.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
291 | 290 | tests/test-status-inprocess.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
292 | 291 | tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
293 | tests/test-ui-color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
|
294 | 292 | |
|
295 | 293 | #endif |
@@ -1,3 +1,4 b'' | |||
|
1 | from __future__ import print_function | |
|
1 | 2 | import os |
|
2 | 3 | from hgext import color |
|
3 | 4 | from mercurial import dispatch, ui |
@@ -8,7 +9,7 b' testui.pushbuffer()' | |||
|
8 | 9 | testui.write(('buffered\n')) |
|
9 | 10 | testui.warn(('warning\n')) |
|
10 | 11 | testui.write_err('error\n') |
|
11 |
print |
|
|
12 | print(repr(testui.popbuffer())) | |
|
12 | 13 | |
|
13 | 14 | # test dispatch.dispatch with the same ui object |
|
14 | 15 | hgrc = open(os.environ["HGRCPATH"], 'w') |
@@ -28,6 +29,6 b' def runcmd():' | |||
|
28 | 29 | dispatch.dispatch(dispatch.request(['version', '-q'], ui_)) |
|
29 | 30 | |
|
30 | 31 | runcmd() |
|
31 |
print |
|
|
32 | print("colored? " + str(issubclass(ui_.__class__, color.colorui))) | |
|
32 | 33 | runcmd() |
|
33 |
print |
|
|
34 | print("colored? " + str(issubclass(ui_.__class__, color.colorui))) |
General Comments 0
You need to be logged in to leave comments.
Login now