##// END OF EJS Templates
py3: use absolute_import in test-hgweb-auth.py
Robert Stanca -
r28747:779addce 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-hgweb-auth.py not using absolute_import
60 tests/test-hgweb-auth.py requires print_function
59 tests/test-hgweb-auth.py requires print_function
61 tests/test-hgwebdir-paths.py not using absolute_import
60 tests/test-hgwebdir-paths.py not using absolute_import
62 tests/test-hybridencode.py not using absolute_import
61 tests/test-hybridencode.py not using absolute_import
@@ -1,8 +1,15 b''
1 from __future__ import absolute_import
2
1 from mercurial import demandimport; demandimport.enable()
3 from mercurial import demandimport; demandimport.enable()
2 import urllib2
4 import urllib2
3 from mercurial import ui, util
5 from mercurial import (
4 from mercurial import url
6 ui,
5 from mercurial.error import Abort
7 url,
8 util,
9 )
10 from mercurial.error import (
11 Abort,
12 )
6
13
7 class myui(ui.ui):
14 class myui(ui.ui):
8 def interactive(self):
15 def interactive(self):
General Comments 0
You need to be logged in to leave comments. Login now