Mercurial > hg-stable
changeset 34003:68bc85f46fe3
tests: update test-requires to pass our import checker
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 22 Aug 2017 16:59:17 -0400 |
parents | a37417e30a1f |
children | 169c97d4e722 |
files | tests/test-requires.t |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-requires.t Tue Aug 22 16:59:12 2017 -0400 +++ b/tests/test-requires.t Tue Aug 22 16:59:17 2017 -0400 @@ -32,7 +32,8 @@ $ echo 'featuresetup-test' >> supported/.hg/requires $ cat > $TESTTMP/supported-locally/supportlocally.py <<EOF - > from mercurial import localrepo, extensions + > from __future__ import absolute_import + > from mercurial import extensions, localrepo > def featuresetup(ui, supported): > for name, module in extensions.extensions(ui): > if __name__ == module.__name__: