--- 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')