##// END OF EJS Templates
tests: use absolute_import in test-walkrepo
Gregory Szorc -
r27300:a8b2bf52 default
parent child Browse files
Show More
@@ -218,7 +218,6 b''
218 tests/test-ui-verbosity.py requires print_function
218 tests/test-ui-verbosity.py requires print_function
219 tests/test-url.py not using absolute_import
219 tests/test-url.py not using absolute_import
220 tests/test-url.py requires print_function
220 tests/test-url.py requires print_function
221 tests/test-walkrepo.py not using absolute_import
222 tests/test-walkrepo.py requires print_function
221 tests/test-walkrepo.py requires print_function
223 tests/test-wireproto.py not using absolute_import
222 tests/test-wireproto.py not using absolute_import
224 tests/test-wireproto.py requires print_function
223 tests/test-wireproto.py requires print_function
@@ -1,9 +1,20 b''
1 from __future__ import absolute_import
2
1 import os
3 import os
2 from mercurial import hg, ui
4
3 from mercurial.scmutil import walkrepos
5 from mercurial import (
4 from mercurial.util import checklink
6 hg,
5 from os import mkdir, chdir
7 scmutil,
6 from os.path import join as pjoin
8 ui,
9 util,
10 )
11
12 chdir = os.chdir
13 mkdir = os.mkdir
14 pjoin = os.path.join
15
16 walkrepos = scmutil.walkrepos
17 checklink = util.checklink
7
18
8 u = ui.ui()
19 u = ui.ui()
9 sym = checklink('.')
20 sym = checklink('.')
General Comments 0
You need to be logged in to leave comments. Login now