Show More
@@ -56,7 +56,6 b'' | |||
|
56 | 56 | tests/test-demandimport.py not using absolute_import |
|
57 | 57 | tests/test-demandimport.py requires print_function |
|
58 | 58 | tests/test-doctest.py not using absolute_import |
|
59 | tests/test-hg-parseurl.py requires print_function | |
|
60 | 59 | tests/test-hgweb-auth.py not using absolute_import |
|
61 | 60 | tests/test-hgweb-auth.py requires print_function |
|
62 | 61 | tests/test-hgwebdir-paths.py not using absolute_import |
@@ -241,7 +240,6 b'' | |||
|
241 | 240 | mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
242 | 241 | tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
243 | 242 | tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
244 | tests/test-hg-parseurl.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
|
245 | 243 | tests/test-hgweb-auth.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
246 | 244 | tests/test-hybridencode.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
247 | 245 | tests/test-lrucachedict.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
@@ -1,10 +1,10 b'' | |||
|
1 | from __future__ import absolute_import | |
|
1 | from __future__ import absolute_import, print_function | |
|
2 | 2 | from mercurial.hg import ( |
|
3 | 3 | parseurl, |
|
4 | 4 | ) |
|
5 | 5 | |
|
6 | 6 | def testparse(url, branch=[]): |
|
7 |
print |
|
|
7 | print('%s, branches: %r' % parseurl(url, branch)) | |
|
8 | 8 | |
|
9 | 9 | testparse('http://example.com/no/anchor') |
|
10 | 10 | testparse('http://example.com/an/anchor#foo') |
General Comments 0
You need to be logged in to leave comments.
Login now