Mercurial > public > mercurial-scm > hg-stable
diff tests/test-share.t @ 34004:169c97d4e722
tests: update test-share to pass our import checker
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 22 Aug 2017 16:59:21 -0400 |
parents | 460733327640 |
children | 4441705b7111 |
line wrap: on
line diff
--- a/tests/test-share.t Tue Aug 22 16:59:17 2017 -0400 +++ b/tests/test-share.t Tue Aug 22 16:59:21 2017 -0400 @@ -326,7 +326,12 @@ $ cat > failpullbookmarks.py << EOF > """A small extension that makes bookmark pulls fail, for testing""" - > from mercurial import extensions, exchange, error + > from __future__ import absolute_import + > from mercurial import ( + > error, + > exchange, + > extensions, + > ) > def _pullbookmarks(orig, pullop): > orig(pullop) > raise error.HookAbort('forced failure by extension')