##// END OF EJS Templates
py3: use absolute_import in test-hg-parseurl.py
Robert Stanca -
r28745:8a23f881 default
parent child Browse files
Show More
@@ -56,7 +56,6 b''
56 tests/test-demandimport.py not using absolute_import
56 tests/test-demandimport.py not using absolute_import
57 tests/test-demandimport.py requires print_function
57 tests/test-demandimport.py requires print_function
58 tests/test-doctest.py not using absolute_import
58 tests/test-doctest.py not using absolute_import
59 tests/test-hg-parseurl.py not using absolute_import
60 tests/test-hg-parseurl.py requires print_function
59 tests/test-hg-parseurl.py requires print_function
61 tests/test-hgweb-auth.py not using absolute_import
60 tests/test-hgweb-auth.py not using absolute_import
62 tests/test-hgweb-auth.py requires print_function
61 tests/test-hgweb-auth.py requires print_function
@@ -1,4 +1,7 b''
1 from mercurial.hg import parseurl
1 from __future__ import absolute_import
2 from mercurial.hg import (
3 parseurl,
4 )
2
5
3 def testparse(url, branch=[]):
6 def testparse(url, branch=[]):
4 print '%s, branches: %r' % parseurl(url, branch)
7 print '%s, branches: %r' % parseurl(url, branch)
General Comments 0
You need to be logged in to leave comments. Login now