tests: update test-bundle2-pushback to pass the import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 15:04:36 -0400
changeset 33947 0124cf4af3b7
parent 33946 83313639b8a4
child 33948 4f86c9647d23
tests: update test-bundle2-pushback to pass the import checker
tests/test-bundle2-pushback.t
--- a/tests/test-bundle2-pushback.t	Tue Aug 22 15:04:14 2017 -0400
+++ b/tests/test-bundle2-pushback.t	Tue Aug 22 15:04:36 2017 -0400
@@ -3,7 +3,8 @@
   > Current bundle2 implementation doesn't provide a way to generate those
   > parts, so they must be created by extensions.
   > """
-  > from mercurial import bundle2, pushkey, exchange, util
+  > from __future__ import absolute_import
+  > from mercurial import bundle2, exchange, pushkey, util
   > def _newhandlechangegroup(op, inpart):
   >     """This function wraps the changegroup part handler for getbundle.
   >     It issues an additional pushkey part to send a new