##// END OF EJS Templates
py3: use absolute_import in test-filelog.py
Robert Stanca -
r28743:83373fc2 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-filelog.py not using absolute_import
60 tests/test-filelog.py requires print_function
59 tests/test-filelog.py requires print_function
61 tests/test-hg-parseurl.py not using absolute_import
60 tests/test-hg-parseurl.py not using absolute_import
62 tests/test-hg-parseurl.py requires print_function
61 tests/test-hg-parseurl.py requires print_function
@@ -2,8 +2,15 b''
2 """
2 """
3 Tests the behavior of filelog w.r.t. data starting with '\1\n'
3 Tests the behavior of filelog w.r.t. data starting with '\1\n'
4 """
4 """
5 from mercurial import ui, hg
5 from __future__ import absolute_import
6 from mercurial.node import nullid, hex
6 from mercurial import (
7 hg,
8 ui,
9 )
10 from mercurial.node import (
11 hex,
12 nullid,
13 )
7
14
8 myui = ui.ui()
15 myui = ui.ui()
9 repo = hg.repository(myui, path='.', create=True)
16 repo = hg.repository(myui, path='.', create=True)
General Comments 0
You need to be logged in to leave comments. Login now