changeset 33965:0124cf4af3b7

tests: update test-bundle2-pushback to pass the import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 15:04:36 -0400
parents 83313639b8a4
children 4f86c9647d23
files tests/test-bundle2-pushback.t
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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